Platform Telemetry
rsyslog
A fast, lightweight log routing and translation daemon that structures raw application output for advanced analytics.
rsyslog provides the crucial translation layer that makes Drupal logs natively queryable in Grafana. By intercepting Drupal's standard pipe-delimited syslog messages and re-wrapping them into a pristine JSON envelope, STD.DEV transforms raw PHP output into high-value operational intelligence.
Unlocking JSON Analytics
By default, Drupal's internal logging generates complex, pipe-delimited strings that are difficult to parse in modern visualization tools. To achieve higher quality monitoring, STD.DEV implemented a custom rsyslog configuration within the web cluster. Acting as a crucial translation layer in the observability stack, rsyslog sits strategically between the PHP application backend and the centralized logging infrastructure. It listens for incoming PHP log events, strips away the unnecessary formatting, and cleanly formats the payload into a structured JSON object (e.g., separating the severity, timestamp, and message body). This elegant transformation prepares the data for seamless ingestion into Grafana Loki, instantly unlocking advanced LogQL querying in Grafana and turning raw text into actionable business intelligence for tracking page render times, RAG vector embeddings, and backend user actions.
How does rsyslog make Drupal logs queryable in Grafana?
rsyslog makes Drupal logs queryable in Grafana by intercepting Drupal's standard pipe-delimited syslog messages and re-wrapping them into a JSON format, transforming raw PHP output into business intelligence.
What problem does rsyslog solve for Drupal logging?
What is the role of rsyslog in the observability stack?
How does rsyslog transform Drupal log data?
What are the benefits of transforming Drupal logs into JSON with rsyslog?
Why was a custom rsyslog configuration implemented by STD.DEV?
What kind of data does rsyslog process from Drupal?
What visualization tool is mentioned as benefiting from the JSON transformation?