I am having trouble getting the HTTPD24_ERRORLOG to work when the module field is blank
it works great in the kibana tester but not in logstash
i get a grokparsefailue
ls config
input {
stdin{}
}
filter{
grok{
match => ["message","%{HTTPD24_ERRORLOG}"]
}
}
output{
stdout{}
}
Log that works for me
[Wed Nov 13 12:39:08.474388 2019] [test:error] [pid 9637] [client 176.10.104.240:42390] script '/home/mydomain.com/public_html/wp-config.php.o' not found or unable to stat
Log that does not work
[Wed Nov 13 12:39:08.474388 2019] [:error] [pid 9637] [client 176.10.104.240:42390] script '/home/mydomain.com/public_html/wp-config.php.o' not found or unable to stat
not sure if this is a problem with the pattern or my logstash.
logstash 7.4.2
well plenty of my logs have it blank.
like 90% of them.
also it seems to work fine in the kibana tester without it.
it must use another grok engine.
do you know what settings in httpd will force something there?
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.