Parsing logs of FIlebeat and send to Elastic search

I am using filebeat to ship the logs directly to elastic search and then visualizing it in Kibana.

I want to parse the message field to fetch the response code(200 as per the below screenshot) as a separate field in Kibana. How can we do that in Filebeat.

You can use the dissect processor, Dissect strings | Filebeat Reference [7.13] | Elastic or grok in logstash/elasticsearch.

As it looks like an Apache log, you can also try to use the Apache Module in filebeat to parse your message.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.