Parse PHP error log file for fatal errors

Hi,
I’m currently using Telegraf (1.18) with Prometheus.
I have several WordPress sites, for which I would need to parse PHP error log file and check for PHP fatal errors, so to create an alert to forward to a Slack channel.

Is it possible to achieve this with Telegraf?

Thanks for any help!

Roberto

Hello @jobet,
There is the logparser telegraf plugin. Have you given it a try?

I find using this helpful:
https://grokdebug.herokuapp.com/