Data export: logs and results as CSV, JSON or via API

Filter logs by time, service, level and text, check how many rows you get, and download them as CSV, TXT, JSON or YAML, or fetch the same result with a curl command.

Log export with filters, formats, preview and download
Export straight from the log table
Audit trail with its own 30-day export
Formats
CSV, TXT, JSON, YAML
Filters
Time range, services, levels, full text
Automation
Generated curl command with API key
Limits
Up to 30 days per log export, row limit
Product tour

How your team works with Data export

From the export form to the export buttons in other views: these screens come from the Obseria app and show where data leaves the tool and how.
01 / 05

Exactly the logs you need, in the right format

Set time range, services, levels and full text, choose CSV, TXT, JSON or YAML, preview the row count and download.

  • Up to 30 days per export
  • Summary of the current query
  • curl command with API key
Exactly the logs you need, in the right format
02 / 05

Search first, then export the result

Filter logs by status, service, environment, source and host in the explorer, then export the result table directly.

  • Facets with match counts
  • Pattern view and live mode
  • Export button above the table
Search first, then export the result
03 / 05

Shape the data before it leaves

Build a query across services, traces, logs, metrics, web events and PromQL to find out what really needs exporting.

  • Metric, filters and grouping
  • Generated SQL visible
  • Add to a dashboard
Learn more
Shape the data before it leaves
04 / 05

Changes of the last 30 days as a file

The audit trail lists actions, actors, resources and results and exports the last 30 days with one click.

  • People and API keys as actors
  • Refused and failed requests
  • Export of 30 days
Learn more
Changes of the last 30 days as a file
05 / 05

Service objectives as CSV for reporting

The SLO list shows each objective with SLI type, target and error budget left, and exports as CSV for a monthly report.

  • Fulfilled, warning or violated
  • Error budget per SLO
  • Export as CSV
Learn more
Service objectives as CSV for reporting
Capabilities

Facts for everyone who needs them

Exports give support, business teams and auditors exactly the data they ask for, without access to the whole tool.
Data export (CSV/JSON, API)

Data export (CSV/JSON, API)

Exports query results and logs as a file or via API.

Log management

Log management

Collects, searches and filters logs from all services in one place.

Audit trail

Audit trail

Records who changed what in the tool and when.

Learn more →
Query language

Query language

One query language across logs, metrics, traces and events at the same time.

Learn more →
  • API
How it works

From a filter to a file

Five steps that turn a question into an export someone outside Obseria can use.
  1. Export filter
    01

    Filter

    Choose the time range, services, log levels and a search text so the result contains exactly what is needed.

  2. Preview
    1,248 rows matchWithin the row limit
    Ready to download
    02

    Preview

    Check how many rows the query returns before downloading. Too many rows usually means the filter is too broad.

    • CSV for spreadsheets
    • JSON for scripts
    • TXT or YAML for tickets
    03

    Choose a format

    Pick CSV for spreadsheets, JSON for scripts, TXT for reading or YAML for tickets and configuration.

  3. Command & API
    04

    Download or script

    Download the file, or copy the generated curl command with an API key to run the same export from a script.

  4. SupportCSV
    ScriptJSON
    TicketTXT
    Example hand-over
    05

    Hand over

    Share the file with the support case, business team or auditor, together with the time range and filters you used.

In depth

How Data export works

Log export

Exactly the log lines you need

The log export form asks four questions: which time range (up to 30 days), which services (comma-separated, empty means all), which levels from debug to fatal (none selected means all) and which text should appear in the log body.

A summary next to the form shows the current query at a glance: time range, levels, services, search, format and the maximum number of rows. That makes it easy to check the export before it runs, and to note the filters next to the file for whoever receives it.

Use a preview first. It shows how many rows the query returns, so you can tighten the filter before downloading a file that is too large to be useful.

  • Time range up to 30 days
  • Services, levels and full-text search
  • Summary of the current query
  • Preview of the row count
Formats

CSV, TXT, JSON or YAML

Different recipients need different formats. CSV opens in Excel, Google Sheets and most BI tools. JSON keeps nested attributes and suits scripts and other systems. TXT with aligned columns is easy to read in a ticket or a message. YAML fits configuration files and engineering tickets.

The export form describes each format in one line, so even people who rarely export data choose the right one. A separate page lists the limits and formats in detail.

Exports you created recently are listed in your browser, which makes it easy to repeat or compare them.

  • CSV for spreadsheets
  • JSON for scripts
  • TXT for reading, YAML for tickets
  • Recent exports in your browser
Command & API

The same export from a script

When an export is needed regularly, clicking through a form every week is the wrong tool. Obseria generates a curl command for the current filters that authenticates with an API key and returns the same result. Copy it into a script, a scheduled job on your side or a CI pipeline.

API keys are managed in Obseria and appear as actors in the audit trail, so it stays visible which key fetched data and when.

Treat keys like passwords: keep them in a secret manager, use separate keys per purpose and rotate them regularly.

  • Generated curl command
  • Authentication with an API key
  • Same filters as the form
  • Key activity visible in the audit trail
Exports in other views

Export where the data already is

Not every export starts in the export area. In the log view you can export directly from the result table. The audit trail exports the changes of the last 30 days for an audit. The SLO list can be exported as CSV, and list views such as notebooks can be downloaded.

For spans and traces, the export area has its own entry that explains what can be exported today.

Whatever the source, the principle is the same: filter in Obseria first, then take only what is needed.

  • Directly from the log table
  • Audit trail: last 30 days
  • SLO list as CSV
  • Spans and traces entry
Integrations

Export what comes in from anywhere

Exports contain the logs that reach Obseria through OpenTelemetry, Fluentd, Vector, Logstash and other collectors. Files open in any spreadsheet or script; there are no dedicated BI connectors.
  • OpenTelemetry
  • OTel Collector
  • Fluentd
  • Vector
  • Logstash
  • Kubernetes
  • Docker
  • Linux
Guide

Log export explained: formats, good practice and API

Why export observability data at all?

An observability platform is built to search and visualise telemetry. Still, there are good reasons to take data out of it. A support team needs the error logs of one customer request. A business analyst wants to combine order failures with sales numbers in a spreadsheet. An auditor asks for evidence of who changed what. A developer wants to run a quick script over a few thousand log lines. In all of these cases, a log export in a common file format is faster than giving everyone access to the tool.

Data export therefore is not a side feature. It is the bridge between the people who run the systems and everyone else who needs facts from them.

Choosing the right export format

The format decides what the recipient can do with the data:

  • CSV is the format for spreadsheets and most BI tools. Every row is a record, every column a field. Ideal for counting, filtering and charting.
  • JSON keeps the structure of nested attributes and is the natural choice for scripts and other systems.
  • TXT with aligned columns is meant for reading: attach it to a ticket or paste it into a message.
  • YAML is readable for humans and machines and fits configuration files or tickets in engineering teams.

If you are unsure, ask what the recipient will open the file with. Excel or Google Sheets means CSV; a Python or Node.js script means JSON.

Good practice for exporting logs

  • Filter first, export second. Narrow the time range, services, log levels and search text until the result answers the question. A small, precise export is more useful than a large one.
  • Check the row count. Preview how many rows a query returns before downloading. If the number is far too high, the filter is too broad.
  • Mind personal data. Logs can contain email addresses, IP addresses or tokens. Mask them at ingest, and only send exports to people who are allowed to see the content.
  • Document the query. Note the time range and filters next to the file so others know exactly what it contains.
  • Automate with the API, not by hand. If you need the same export regularly, use a command with an API key in a script instead of clicking through the interface every week.

File download or API?

A file download is right for one-off questions: a support case, an incident analysis, a request from a business team. An API export is right when another system should receive the data repeatedly, for example a nightly job that loads error counts into an internal report. Both use the same filters; the difference is who triggers the export and how often.

When you use the API, treat the API key like a password: store it in a secret manager, give it the smallest permissions that work and rotate it regularly.

Exports and data protection

Every export is a copy of data that leaves the controlled environment of your observability platform. Once a CSV file sits in an email inbox or on a laptop, access control and retention rules no longer apply to it. That does not mean you should avoid exports, but treat them deliberately:

  • Export as little as needed: only the fields, services and time range that answer the question.
  • Prefer masked data: if sensitive values are masked at ingest, they cannot appear in an export by accident.
  • Share through controlled channels: attach the file to the ticket or case instead of sending it around by email.
  • Delete when done: an export for a support case is no longer needed once the case is closed.
  • Keep track: note who received which export and why, especially when personal data is involved.

Data export in Obseria

In Obseria, the export area brings these options together. For logs you set the time range (up to 30 days), the services (comma-separated, empty for all), the log levels from debug to fatal and a full-text search in the log body. You pick CSV, TXT, JSON or YAML, run a preview to see how many rows will come back and then download the file. A summary next to the form shows the current query and the row limit.

Further entries in the export area cover spans and traces, export directly from the table in the log view, a list of recent exports in your browser and command and API: Obseria generates a curl command with your API key that returns the same result, ready for a script. A separate page explains the limits and formats.

Other views have their own export where it makes sense: the audit trail exports the last 30 days of changes, the SLO list can be exported as CSV, and list views such as notebooks can be downloaded.

Limits to know

Exports are meant for focused data sets, not for copying your entire telemetry. The time range of a log export is limited to 30 days, and the download has a row limit that the form shows before you start. There are no scheduled exports and no ready-made connectors to BI tools or data lakes; if you need recurring exports, script them with the generated API command.

FAQ

Questions about Data export

Answers on features, setup and what is not included yet.
Contact us

Data export FAQ

CSV, TXT with aligned columns, JSON and YAML.

A single log export covers a time range of up to 30 days. Within that range you can narrow it down as far as you like.

Yes, a download has a row limit that the form shows before you start, and a preview tells you how many rows your filters return. Narrow the filter if the result is too large.

Yes. Obseria generates a curl command for the current filters that authenticates with an API key. Use it in your own scripts or jobs.

The export area has a separate entry for spans and traces that describes what can be exported today. The full log export form described here applies to logs.

An export contains what is stored. Use the sensitive data scanner to mask email addresses, IBANs, card numbers, tokens, phone numbers and IPs at ingest, and only pass exports to people allowed to see them.

Directly from the log table, from the audit trail (last 30 days), from the SLO list as CSV and from list views such as notebooks.

Scheduled or recurring exports, direct connectors to BI tools, export to object storage or a data lake, and formats such as Parquet are not available. For recurring exports, run the generated API command from your own scheduler.

Contact

See Data export in action

In 30 minutes we show you how Obseria works in your environment and answer your questions on setup, privacy and pricing.

  • No obligation, free of charge
  • Usually answered within one business day
  • Data in the EU
Your contact
Your contactObseria team

* Required field. By submitting, you agree to the processing of your details as described in our Privacy Notice