What you will learn in this TP
- Deploy OpenObserve
- Ingest JSON
- Query with SQL
Introduction #
What you will learn in this section
- Deploy OpenObserve
- Ingest JSON
- Query with SQL
Context. Your team is looking for a log platform lighter than an Elasticsearch cluster. You build a prototype in a few minutes.
Prerequisites: Docker Compose, curl, jq · Estimated time: 30 min
Setup #
Guided steps, with their solution.
1. Start OpenObserve
Why? A single container is enough: the product's main asset.
Write the Compose file, start it and check/healthz.2. Send events
Why? No schema to declare: the stream is born at the first write.
Send three events to thecommandesstream, and read the response body.3. Find them with SQL
Why? The query always needs a time range, in microseconds.
Compute the number of events and the average duration per service. Wait a few seconds if the result is empty.4. Observe the transformations
Why? These rules explain many queries returning nothing.
Send[{"Level":"INFO","http":{"status":500}}]to anessaistream, then find it in the UI. What are the fields called now?
Difficulty level : ●○○○○ (1/5)
My progress
Sign in to track your progress and take notes. Sign in
Recommended Articles
Feeding OpenSearch: ingest pipelines and Data Prepper
Transform data with ingest pipelines, collect with Data Prepper, receive OTLP and avoid the dynam...
Grafana : maîtriser les requêtes (PromQL, LogQL, SQL et expressions)
Construire des requêtes efficaces dans Grafana : éditeur de requêtes, Query Inspector, PromQL, Lo...
Corréler traces, métriques, logs et profils avec OpenTelemetry
Relier les quatre signaux pour diagnostiquer vite : ressource commune, trace_id dans les logs, ex...
Les logs avec OpenTelemetry : modèle de données, appenders, corrélation et collecte
Maîtriser le signal log : modèle de données LogRecord, Logs Bridge API et appenders (Logback, Log...
Les Data Sources dans Grafana : Connectez et unifiez vos données
Apprenez à étendre les capacités de Grafana via les Data Sources. Découvrez les plugins essentiel...
ClickStack : ClickHouse, HyperDX et OpenTelemetry
La pile d'observabilité officielle de ClickHouse : installation tout-en-un, interface HyperDX (re...
Grafana Alloy : Collecte et Transformation de Télémétrie
Apprenez à utiliser Grafana Alloy pour collecter, transformer et acheminer logs, métriques et tra...
APM Datadog et OpenTelemetry : traces, services et corrélation avec les logs
Instrumenter ses applications pour l'APM Datadog (dd-trace, instrumentation en une étape, OpenTel...
Corréler traces, logs, métriques et profils dans Grafana
Relier Tempo aux logs (Loki), aux métriques (Prometheus) et aux profils (Pyroscope) : tracesToLog...