Add time taken to serve request in Apache2 module

Hi guys,

I'm trying to find a way to add a custom log format in the filebeat apache2 module.

My apache logs have the time taken to serve the request, which is important for me to know.

Def. > %D The time taken to serve the request, in microseconds.

LogFormat "%h %l %u %t "%r" %>s %b %D "%{Referer}i" "%{User-Agent}i"" combined

I checked the filebeat templat and has no room to fit this data, I'm wondering how and what's the best way to achieve this task.

Any help is appreciated!

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