Web operations · PHP

LogSense + n8n

Downtime messages and operational requests are turned into a structured process that reads logs, gathers context, and prepares a meaningful response without rebuilding everything by hand each time.

Problem

Monitoring messages often ask whether there was an incident, downtime, or planned activity during a specific period. Manually digging through access and error logs is slow and tedious, especially when older months are archived.

What was built

LogSense is a lightweight PHP tool that reads Apache logs, finds the relevant interval, and returns structured JSON with the metrics. n8n recognises the request, extracts the time range, calls the API, and prepares a response draft.

How the system works

  • An email trigger and filter recognise standardised requests.
  • Time range extraction turns the message into data the system can process.
  • LogSense returns structured metrics from Apache logs.
  • The system prepares a response that can be reviewed before sending.

Operational value

The system does not try to replace responsibility for incident response. It removes the slowest part of the work: manual data lookup and drafting the first reply. The result is a cleaner process and a better basis for decision-making.

LogSense + n8n is an example of a small operational system that closes a visibility gap. It is not trying to be a complete observability platform. It gives the team a faster, cleaner way to respond to one very specific type of request.

Your process

Do you have a similar situation in your process?

Send where the work most often slows down and which tools are already involved so we can see what the most useful first step would be.

Start the Intro Brief