Page MenuHomeMiraheze

Ingest PHP-FPM slowlogs into Graylog
Open, NormalPublic

Description

In the parent task, we have a timeout in PHP-FPM, but debugging is hard without a stacktrace.

We used to have these logs locally, but I have removed them because PHP-FPM does not log these to syslog.

Event Timeline

Southparkfan created this task.
Southparkfan updated the task description. (Show Details)
John added a subscriber: John.

Added monitoring, removed production error as no stack trace/ID/link was provided for a production error

The slowlog has been readded locally, hence lowering priority (debugging is possible now). Leaving the task open though:

  1. It would be useful to correlate NGINX upstream timeouts to slowlogs in Graylog -> let syslog-ng read the slowlog, send the data to Graylog
  2. There is no logrotate configuration for the slowlogs, logs may fill up the disk in the future (but this will take years)