logging
14 pagesAccess secure logs
Once secure logs for your team are enabled, they will become available in Securelogs dataview. The members of the corresponding Nais team should get access to those logs automatically when they logβ¦
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).
Enable secure logs
This guide will show you how to enable shipping of secure logs for your application. If your Nais team has already at any point produced secure logs, you can skip this step.
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
Logs are a way to understand what is happening in your application. They are usually text-based and are often used for debugging. Since the format of logs is usually not standardized, it can be difficult to query and aggregate logs and thus we recommend using metrics for dashboards and alerting.
LogQL Reference
LogQL reference documentation for querying logs in Grafana Loki.
Loki Labels Reference
Loki label reference documentation for querying logs in Grafana Loki.
View logs from the command line
View logs from the command line using kubectl.