Skip to content

Commit

Permalink
Add install doc for td-agent2
Browse files Browse the repository at this point in the history
  • Loading branch information
y-ken committed Jun 7, 2016
1 parent 11ff1f3 commit 2fa8e39
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Expand Up @@ -17,14 +17,17 @@ fluent-plugin-sentry extends fluent buffered output and enables a fluend user to

## Installation

install with `gem` or `fluent-gem` command as:
install with `gem` or td-agent provided command as:

```bash
# for fluentd
$ gem install fluent-plugin-sentry

# for td-agent
$ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-sentry

# for td-agent2
$ sudo td-agent-gem install fluent-plugin-sentry
```

## Preparation
Expand All @@ -41,11 +44,11 @@ OR

```xml
<source>
type forward
@type forward
</source>

<match notify.**>
type sentry
@type sentry

# Set endpoint API URL
endpoint_url https://API_KEY:API_PASSWORD@app.getsentry.com/PROJECT_ID
Expand Down

0 comments on commit 2fa8e39

Please sign in to comment.