Skip to content

Commit

Permalink
Update README about logstash configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaakko Suutarla committed Jan 29, 2014
1 parent c9c4d16 commit 2d5ae06
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,18 @@ A [Logstash TCP][0] transport for [winston][1].
``` ruby
input {
# Sample input over TCP
tcp { format => "json" charset => "UTF-8" port => 28777 type=>"sample" }
tcp { port => 28777 type=>"sample" }
}
output {
stdout { debug => true debug_format => "json"}
stdout { debug => true }
}

filter {
json {
source => "message"
}
}

```

## Inspiration
Expand Down

0 comments on commit 2d5ae06

Please sign in to comment.