Hi
I am trying to parse a log file using grok. Basically trying to write and test grok pattern in https://grokdebug.herokuapp.com/ The patterns for the two words log "[**] [1:2123:5]" that i came upon is [**] \\[%{NUMBER\\:NUMBER\\:NUMBER:threat}\\] using custom pattern. But the grok debugger produces only curly bracket. Any insight on the grok pattern that i am missing will be appreciated . Also how can i fetch the value of level from the following log line.
Hi @magnusbaeck Thank you again. With your input, I have been able to parse the log using following pattern. I do understand now why a single space in pattern also matters.
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.