What you will learn in this TP
- Deploy OpenObserve
- Ingest JSON
- Query with SQL
All steps and instructions are shown. Recommended for this lab: guided
Introduction #
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
Disposable environment: passwords are written in clear text to keep the lab simple. Outside a lab, keep image versions pinned and move secrets out of the file: an unversioned.envfile read with${PASSWORD:?}in the Compose file, or a Docker secret read through a*_FILEvariable (for exampleGF_SECURITY_ADMIN_PASSWORD__FILEfor Grafana).
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?
Validate your work
Check that each goal above is reached and that you get the result described in the introduction.
Difficulty level : ●○○○○ (1/5)
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
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...
Installing Phoenix and tracing your first LLM application
Install Arize Phoenix (pip, Docker), send your first OpenInference traces from an OpenAI applicat...
Alerts and pipelines in OpenObserve
Create a template, a destination and an alert, avoid the SSRF webhook block and process data with...
Installing Zabbix and monitoring your first host
Install Zabbix with Docker Compose (server, PostgreSQL, web interface), install agent 2 on a Linu...
Elasticsearch ingestion: Bulk API, ingest pipelines, enrich and reindex
Ingest and transform data in Elasticsearch: Bulk API, ingest pipelines and processors (grok, diss...