Interview Prep/Monitoring & Observability/Grafana dashboards and data sources

Grafana shows timestamps 5h30m off from the logs

BeginnerTroubleshootingGrafana dashboards and data sources
Answer

Likely causes → Logs are parsed without timezone (treated as UTC) while the source writes local time (IST), or the dashboard timezone setting differs.

Diagnose → Compare raw log line time with @timestamp/Loki timestamp.

Fix → Log in UTC with an explicit offset (ISO 8601), or set the parser's timezone (Fluent Bit Time_Offset, Logstash timezone).

Prevent → Enforce UTC on servers and in app log formats.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana dashboards and data sources