Skip to content

Commit

Permalink
Update samples to match Logstash's latest recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
dwbutler committed May 4, 2016
1 parent 84388d1 commit 780e4a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ input {
}
```

File and Redis inputs should use the `json` codec instead. For more information
read the [Logstash docs](https://www.elastic.co/guide/en/logstash/current/plugins-codecs-json_lines.html).

See the [samples](https://github.com/dwbutler/logstash-logger/tree/master/samples) directory for more configuration samples.

## SSL
Expand Down
2 changes: 1 addition & 1 deletion samples/redis.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
input {
redis {
data_type => "list"
codec => json_lines
codec => json
key => "logstash"
}
}
Expand Down

0 comments on commit 780e4a1

Please sign in to comment.