HomeSoftware Heritage

webapp: improve access log parsing

Description

webapp: improve access log parsing

  • fix a hardcoded path to the apache log file, filebeat was not reading it when the vhost name is not webapp.
  • add an environment field to easily identify the origin of a log entry
  • add a vhost field to easily regroup the logs of a vhost (can be also added on varnish side)

Details

Provenance
vsellierAuthored on Feb 1 2021, 12:24 PM
vsellierPushed on Feb 2 2021, 3:12 PM
Differential Revision
D4989: Add request durations in access logs and improve logstash's integer parsing
Parents
rSPSITE908a635fff3d: webapp: code format
Branches
Unknown
Tags
Unknown
Tasks
T2787: Improve access_logs parsing