Last active
August 29, 2015 14:26
-
-
Save objectiveSee/c533c39e33177788f203 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
duck:true, | |
"french":"fries" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
stdin { | |
type => json | |
codec => json_lines | |
} | |
tcp { | |
port => 28777 | |
type => "winston" | |
} | |
} | |
filter { | |
json { | |
source => "message" | |
} | |
} | |
output { | |
stdout { codec => rubydebug } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"message" => "{\"app\":\"logstash-dev-test\",\"level\":\"info\",\"message\":\"{\\\"duck\\\":true,\\\"french\\\":\\\"fries\\\"}\"}", | |
"@version" => "1", | |
"@timestamp" => "2015-07-28T19:49:32.063Z", | |
"host" => "73.212.109.60", | |
"type" => "winston" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment