HI, I have a challenge that I have been trying to resolve now for some time however not making positive progress. I have logs that I would like to filter and did Incremental Grok Construct and all is matching, however when running this into Elaticsearch I get the _grokparsefailure error.
I just tried that on http://grokdebug.herokuapp.com/ and it doesn't work.
I'd start by hitting up that site and then back tracking till you find the problem.
Thank you for the response, it is quite interesting as I was using http://grokconstructor.appspot.com/do/construction and all was matching here, however in http://grokdebug.herokuapp.com/ this was not the case. I have updated the filter and now it is matching in both tools, however the challenge is still current, here is the latest filer: %{CISCOTIMESTAMP} %{IP} %{WORD:Nr} %{SYSLOG5424PRI}1 %{TIMESTAMP_ISO8601} %{IP} %{WORD} - - - %{TIMESTAMP_ISO8601:Date} %{CISCOTAG} RT_IDS - RT_SCREEN_TCP_LS %{SYSLOG5424SD}
Thank you for that, however let me provide you with the configuration sections I am struggling with:
if "RT_IDS" in [tags] {
grok {
match => ["messages", "%{CISCOTIMESTAMP} %{IP} %{WORD:Nr} %{SYSLOG5424PRI}1 %{TIMESTAMP_ISO8601} %{IP} %{WORD} - - - %{TIMESTAMP_ISO8601:Date} %{CISCOTAG} RT_IDS - RT_SCREEN_TCP_LS %{SYSLOG5424SD}"]
add_tag => "RT_IDS"
}
date {
locale => "en"
match => ["Date",
"yyyy-mm-dd'T'HH:mm:ss.SSSZ",
"ISO8601"]
timezone => "Africa/Windhoek"
target => "@timestamp"
add_field => { "debug" => "timestampMatched"}
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.