when I'm parsing iis log file in UTF-8 format I'm getting [0] "_grokparsefailure" error and When I'm parsing log file using ANSI format there is nothing working Logstash just display message on console " Logstash startup completed". There is almost 1000 files on my server i can't change each file format from ANSI to UTF-8.
Can you please help where I need to change in my config file. I'm also attaching debug file when I'm parsing files on UTF-8 format.
I'm using elastic search on same box and its completely working fine. I'm also able to telnet port 9200 with 127.0.0.1.
If you look at the message and line the components up against the parts of the grok expression they currently match, it is clear that several components have been overlooked and need to be added.
Don't break the grok pattern up into multiple lines. I just did choose to display it that way to show how fields did not match up. You are also capturing the bytes and querystring fields multiple times. I suspect this should be different fields. The general recommendation when building grok expressions is to start from the beginning and add field by field.
You also do not seem to be capturing the useragent field that you are trying to use in the user agent filter.
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.