logging
16 pagesAdding logs to your Grafana dashboard
Add logs to your Grafana dashboards and correlate them with metrics and traces.
Audit logs
Most applications where a user processes data related to another user need to log audit statements, detailing which user did what action on which subject. These logs need to follow a specific formatβ¦
Create alerts in nav-logs (OpenSearch Dashboards)
This guide will help you create alerts in nav-logs (OpenSearch Dashboards).
Disable persistent application logs
Disable log storage for a specific application
DQL Reference
Dashboards Query Language (DQL) Reference for filtering data in nav-logs (OpenSearch Dashboards).
Get backend exceptions into Issues
Get your backend exceptions β JVM (Spring Boot, Ktor) and Node.js β into the Nais APM Issues tab with tight grouping and a stack trace, whether you log to stdout (the default) or export logs over OpenTelemetry.
Get started with Grafana Loki
Get started with Grafana Loki, the default and preferred log aggregation system for all Nais application
Get started with nav-logs
This guide will help you get started with nav-logs (OpenSearch Dashboards).
Get started with Team Logs
Get started with Team Logs, a private logging solution leveraging Google Cloud Logs.
Log Destinations
Available log destinations for application logging in Nais.
Logging
Understand how application logging works in Nais, its purpose, good practices, and the available log destinations.
LogQL Reference
LogQL reference documentation for querying logs in Grafana Loki.
Loki Labels Reference
Loki label reference documentation for querying logs in Grafana Loki.
Metrics and alerts for logs
Use Loki-derived metrics to monitor log patterns and create Prometheus alerts.
Use log patterns during an incident
Collapse thousands of log lines into a handful of patterns in the Nais APM Logs tab to spot what's new or spiking during an incident.
View logs from the command line
View logs from the command line using kubectl.