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
Installing OpenObserve and ingesting your first data
Install OpenObserve with Docker Compose or the binary, configure it with its ZO_* variables, send...
Sending logs, metrics and traces to OpenObserve
OpenObserve receiving endpoints: JSON, bulk, OTLP with the OpenTelemetry Collector, Prometheus re...
Exploring data in OpenObserve: SQL, PromQL and VRL
Search with SQL, query metrics with PromQL, optimize a stream (indexes, partitions, retention) an...
OpenObserve: architecture and concepts
Understanding OpenObserve: Parquet storage, deployment modes, roles (router, ingester, querier, c...
OpenObserve in production: best practices
Choose your deployment mode, organize streams, secure, back up and monitor OpenObserve in product...
Alerts and pipelines in OpenObserve
Create a template, a destination and an alert, avoid the SSRF webhook block and process data with...
Ingestion Elasticsearch : Bulk API, ingest pipelines, enrich et reindex
Ingérer et transformer des données dans Elasticsearch : Bulk API, ingest pipelines et processeurs...
Utiliser SigNoz : APM, traces, logs, dashboards et alertes
Exploiter SigNoz au quotidien : vue APM des services, explorateur de traces et de logs, query bui...
Stocker et interroger la télémétrie directement dans ClickHouse
Envoyer logs et traces dans ClickHouse avec l'exportateur OpenTelemetry, comprendre le schéma des...