Hi team,
I am very new in Grok.
I am struggling at this point. I cannot make a parser for below log file.
The issue comes in [17/Aug/2021:16:46:33 +0700]. I cannot pass it.
192.168.40.100 - - [17/Aug/2021:16:46:33 +0700] "GET /favicon.ico HTTP/1.1" 404 493 "http://192.168.40.105/" "Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Mobile/15E148 Safari/604.1"
The reason why yours is not working is due to the timestamp (and maybe others, didn't go through it all). You can see the patterns for things such as TIMESTAMP_ISO8601here which you can see that pattern does not match your data. Your time matches the HTTPDATE pattern.
But when you do COMBINEDAPACHELOG it should parse it all since it's a common log type.
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.