Created
June 5, 2013 14:14
-
-
Save BlackMaria/5714181 to your computer and use it in GitHub Desktop.
The way I am dealing with grok failures is to create a test case from them. For others in the same boat I suggest you add this "output" to your logstash configs ( I suggest all of them ) and then you are automatically creating test cases to see what failed! NB: It has been suggested to try to pass "_grokparsefailure" tagged files passed the same…
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
output { | |
file { | |
#gzip => true | |
path => "/var/log/testcases/failed_grok_%{type}" | |
tags => "_grokparsefailure" | |
} | |
# .... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment