Support new logstash format
Closed this issue · 2 comments
dbrgn commented
https://gist.github.com/jordansissel/2996677
How hard would it be to switch to the new logging format?
dbrgn commented
Basically, the following things need to be done:
@message
->message
@source_host
->host
- Add
@version => 1
- Move all fields in
@fields
to the top level
dbrgn commented
Oh, I never realized that I can achieve exactly this by using logstash_formatter.LogstashFormatterV1
instead of logstash_formatter.LogstashFormatter
. Sorry for bothering you.
This should probably be mentioned in the README.