RousselTMLEARNING

TP · OpenObserve: from discovery to expertise

Lab: Install OpenObserve and ingest your first logs

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

A platform ready to receive data.

Setup #

Guided steps, with their solution.

  1. 1. Start OpenObserve

    Why? A single container is enough: the product's main asset.

    Write the Compose file, start it and check /healthz.
  2. 2. Send events

    Why? No schema to declare: the stream is born at the first write.

    Send three events to the commandes stream, and read the response body.
  3. 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. 4. Observe the transformations

    Why? These rules explain many queries returning nothing.

    Send [{"Level":"INFO","http":{"status":500}}] to an essai stream, then find it in the UI. What are the fields called now?

Difficulty level : ●○○○○ (1/5)

My progress

  • ⏱ Estimated time : ≈ 30 min

Sign in to track your progress and take notes. Sign in

💬 Ask a question

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...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!