-
-
Save cemo/2f5a0c7f8f3dcdca1543 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 { } | |
| file { | |
| type => "applogs" | |
| # Wildcards work, here :) | |
| path => [ "/home/alee/workspaces/java-workspaces/elasticsearch-example/graph-presenter/logs/*.log" ] | |
| } | |
| } | |
| filter{ | |
| grok{ | |
| match => ["message", "%{WORD:level} %{SYSLOG5424SD:time} %{JAVACLASS:class}: _data_%{GREEDYDATA:json}"] | |
| } | |
| json { | |
| source => "json" | |
| } | |
| } | |
| output { stdout { codec => rubydebug } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment