My main goal is to parse apache airflow logs into particular fields using logstash, feed it into elasticsearch and visualise them using kibana. There is no particular grok pattern available for airflow logs. I'm fairly new to elk stack. Need any help possible to parse important info from airflow logs.
i've been trying regex because i wasn't able to find a suitable grok filter to achieve the required result.
I want to mainly parse the 1st,2nd and last line of the airflow log. The fields i want are:
- message( task exited with code 0)