Add time taken to serve request in Apache2 module


(Wilton Martins) #1

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!


(system) closed #2

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