Apache Log with Tail Plugin and Grok Format

Hello,
I have a project where I would like to get the latency per page, the number of exceptions and the web traffic. I’ve been stuck on this for 2 weeks already, I installed telegraf on the Apache machine with the Tail plugin and I also modified my apache.conf to add %D to the LogFormat but I’m at the point where I have absolutely no idea how to get this value, the documentation on Grok is horrible and incomprehensible.

Thanks

There is already a plugin for Apache Server, maybe that already meets your requirements:


If not, we need some sample lines from your Apache log and the section from telegraf.conf with the Tail plugin, which you already tried.

Hi,
I solved the problem for the logs and latency yesterday but I would like to be able to retrieve the application errors in the error.log file and is it possible with the Tail plugin to count the number of errors?

Thanks