Try using Grot AI Grot AI for this query ->
Promo banner icon
We've updated our Terms of Service and Privacy Policy. Please review the changes as you continue to interact with us.
Learn more
DownloadsContact Us
Logo
  • Pricing
  • Docs
Sign inSign up
  1. Documentation breadcrumb arrow
  2. Learning Hub breadcrumb arrow
  3. Journey Design a labeling strategy to control cardinality
  4. breadcrumb arrow
    Section 4 of 5 Apply labeling strategy to logs
Section

Apply labeling strategy to logs

5 slides
Progress %
1

Labels tell you where

View slide

Loki indexes only labels, so good log labels describe origin and context

2

Use dynamic labels sparingly

View slide

Three conditions a dynamic label must meet, and filter expressions as the alternative

3

The decision framework

View slide

When log data belongs in a label, in structured metadata, or in the log line

4

Audit what your clients send

View slide

Find high-cardinality log labels with logcli and enforce policy at a gateway

5

Resources

View slide

Documentation and community links for log labeling

Still have questions?

Ask your questions. Let AI do the heavy lifting.

Ask AI icon
Newsletter icon

Get every update

Subscribe to our newsletter

By submitting, you agree to our Privacy policy

Grafana Cloud

  • Overview
  • Pricing
  • What's in the free tier?
  • AI Assistant
  • Agent Observability
  • Application Observability
  • Kubernetes Monitoring
  • Dashboards & Visualization
  • Database Observability
  • Frontend Observability
  • Synthetic Monitoring
  • Performance & Load Testing
  • Incident Response & Management
  • AI Investigations
  • What’s New
  • Grafana Cloud Status

Solutions

  • AI Observability
  • Full-Stack Observability
  • Infrastructure & Cloud Observability
  • Digital Experience Monitoring
  • Scaled Prometheus
  • Cost Management & Optimization
  • Site Reliability
  • Log Management
  • Migrate to OpenTelemetry

Integrations

  • All Integrations
  • All Plugins
  • AWS
  • Google Cloud
  • Microsoft Azure
  • Kubernetes
  • Datadog
  • New Relic

Open Source

  • Our Projects
  • GitHub
  • Downloads
  • Dashboard Templates

Learn

  • Documentation
  • Blog
  • Community
  • Events
  • Observability Survey & Reports

Company

  • About Grafana Labs
  • Careers
  • Partnerships
  • Newsroom
  • Success Stories
  • Contact Us
  • Getting Help
  • Professional Services
  • Hey AI

Compare

  • Datadog vs. Grafana Cloud
  • Dynatrace vs. Grafana Cloud
  • Elasticsearch vs. Grafana Cloud
  • New Relic vs. Grafana Cloud
  • PagerDuty vs. Grafana Cloud
  • Splunk vs. Grafana Cloud
Grafana Labs x unique logomark

Donut take our word for it. Try Grafana Cloud today.

Grafana Cloud StatusLegal & SecurityTerms of ServicePrivacy PolicyTrademark Policy

Copyright 2026 © Grafana Labs

FacebookXLinkedinGithubYoutubeReddit
Grafana Labs uses cookies for the normal operation of this website. Learn more.