Skip to content

Dataset

Production log and distributed trace datasets for AI training

A production log dataset is a set of application and infrastructure logs, distributed traces and the surrounding metrics from live services, cut into defined time windows and tied to the incident each window belongs to and the code or configuration change that ended it. SourceX sources these to a buyer's spec from established companies that keep production telemetry in Datadog, Splunk, Elastic, Grafana Loki and Tempo or Honeycomb, with user identifiers, payloads and credentials scrubbed from log text. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Logs, traces and metrics for incident and baseline windows, tied to the change that ended each incident
Typical systems
Datadog, Splunk, Elastic, Grafana Loki and Tempo, Honeycomb, Jaeger
Typical history
Set by index and archive retention, often short in the searchable tier and longer where archived; ask
Modality
Log lines as text; span trees, metric series and window metadata as structured records
Delivery formats
JSONL or Parquet log records, spans as OTLP JSON, metric series as Parquet or CSV
Preparation
User IDs, IPs, emails, payloads and credentials scrubbed; hosts and tenant names replaced consistently
Licensing
Scoped per service set and window list; permitted use agreed per license
Availability
Sourced to your spec; incident links, baselines and sampling records depend on the partner's tooling
TextIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
window_idstringStable ID for one time window of telemetry from a stated set of services.
windowobjectIncident, quiet baseline or uneventful deploy, with start, end and the lead-in and recovery margins.
service_maparrayServices in the window under pseudonymous names, with deployed version and the dependencies each calls.
log_recordsarrayLog entries with event and observed timestamps, severity, body, attributes, and trace and span IDs where present.
log_templatesarrayMessage templates parsed from the bodies, with variable positions and counts per interval.
spansarrayTrace spans with span and parent IDs, name, kind, duration, status, attributes and events such as exceptions.
metric_seriesarrayRequest rate, error rate, latency and resource series over the window, with resolution stated.
incident_anchorobjectThe incident the window belongs to, with impact start and declaration times and how the boundary was set.
ending_changeobjectThe commit, config revert, rollback, restart or failover that ended the incident, with its time and diff reference.
change_eventsarrayDeploys, feature-flag flips and config pushes in and just before the window, whether or not they caused anything.
samplingobjectTrace sampling mode and rate, log level per service and any drop or exclusion filters in force.
completenessobjectShare of logs with trace IDs, share of spans missing a parent, ingestion gaps and truncated or split lines.
fault_labelobjectFailing component and failure type, with whether a postmortem, the fix or a reviewer assigned it.
scrub_reportobjectDetectors run, fields pseudonymized, content dropped and the result of a residual check.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "window_id": "win_0387",
  "window": {
    "kind": "incident",
    "start": "2024-05-21T13:40:00Z",
    "end": "2024-05-21T15:10:00Z",
    "lead_in_min": 30,
    "recovery_min": 20
  },
  "service_map": [
    { "service": "svc_orders", "version": "2024.05.21-2", "calls": ["svc_inventory"] },
    { "service": "svc_inventory", "version": "2024.05.14-1", "calls": ["cache_inv"] }
  ],
  "log_records": [
    { "ts": "2024-05-21T14:12:07.398Z", "severity": "WARN", "service": "svc_inventory",
      "body": "cache pool exhausted, waiting for connection (active=64 idle=0)" },
    { "ts": "2024-05-21T14:12:12.412Z", "severity": "ERROR", "service": "svc_orders",
      "body": "reserve failed for order [ORDER_ID]: context deadline exceeded calling svc_inventory",
      "trace_id": "4f0c[...]a91e", "attrs": {"user.id": "[USER_7f3a]"} }
  ],
  "log_templates": [
    { "id": "T118",
      "template": "cache pool exhausted, waiting for connection (active=<*> idle=<*>)",
      "per_min_baseline": 0, "per_min_incident": 930 }
  ],
  "spans": [
    { "span_id": "b7d2[...]", "parent_span_id": null, "service": "svc_orders",
      "name": "POST /v1/orders", "kind": "server", "duration_ms": 5003, "status": "error" },
    { "span_id": "c19a[...]", "parent_span_id": "b7d2[...]", "service": "svc_orders",
      "name": "svc_inventory.Reserve", "kind": "client", "duration_ms": 5000, "status": "error",
      "events": [{"name": "exception", "type": "DeadlineExceeded"}] }
  ],
  "metric_series": [{"name": "svc_inventory.cache.pool.active", "resolution_s": 10}],
  "incident_anchor": {
    "incident": "inc_2024_0147",
    "impact_start": "2024-05-21T14:10:00Z",
    "declared": "2024-05-21T14:21:00Z",
    "boundary_method": "error_rate_onset"
  },
  "ending_change": {
    "kind": "config_revert",
    "t": "2024-05-21T14:47:10Z",
    "ref": "cfg_9120",
    "summary": "Restore cache pool max from 64 to 256 in svc_inventory"
  },
  "change_events": [
    { "t": "2024-05-21T13:58:00Z", "kind": "config_push", "target": "svc_inventory",
      "ref": "cfg_9118" },
    { "t": "2024-05-21T14:02:00Z", "kind": "deploy", "target": "svc_orders", "ref": "dep_7741" }
  ],
  "sampling": {
    "traces": {"mode": "tail", "sample_rate_per_trace": true},
    "log_levels": {"svc_orders": "INFO", "svc_inventory": "INFO, DEBUG from 14:25Z"}
  },
  "completeness": {"logs_with_trace_id_pct": 71, "orphan_span_pct": 3},
  "fault_label": {
    "component": "svc_inventory cache pool",
    "type": "resource_exhaustion",
    "labeled_by": "postmortem"
  },
  "scrub_report": {"pseudonymized": ["user.id", "hostnames"]}
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Localize a fault from telemetry

Windows labeled with the failing component teach a model to move from symptoms in one service to the dependency behind them.

Detect anomalies against real baselines

Quiet windows from the same services show the errors a healthy system logs all day, which an anomaly model has to ignore.

Train agents that query logs and traces

A window loaded into a log and trace store is an environment where an agent searches, filters and follows trace IDs to a known cause.

Connect symptoms to the fixing change

The ending change, set beside the other deploys and config pushes, teaches which recent change to suspect.

Evaluate on held-out incidents

With the ending change and fault label withheld, an incident window is a graded diagnosis task on an unseen system.

Use-case guides: Coding agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Anchored to incident and fix

Each incident window names its incident and the change that ended it.

Matched baselines

Quiet windows come from the same services at comparable load, not from a different system.

Sampling on record

Sampling mode, rates and log levels are stated per window, with any change made mid-incident.

Logs join to traces

Log records carry trace IDs, and the share that resolve to a stored trace is measured.

Dependencies in scope

The window covers the request path, including the service where the fault began.

Scrub that keeps joins

The same user, host or tenant maps to the same placeholder across services and signals.

Record timeline

Production log dataset

This page covers production logs and distributed traces.Illustrative

Specify incident windows and baselines, not terabytes

A busy service writes the same small set of message templates over and over. Bought by volume, production logs are mostly repetition, and nothing in them says which lines mattered. They become supervised data when a window is tied to a known incident and to the change that ended it: the commit, the config revert, the rollback, the failover. The ending change is the nearest thing to ground truth an operations record has, because it states what the fault was in a form that can be checked. A restart or failover is weaker evidence, since it shows where the fault sat and not what it was.

The start time in the incident tracker is when someone declared the incident, which is later than when the fault began, so each window should include a lead-in before detection and the recovery after the fix. The fault is often visible in a dependency and not in the service that alerted, so a window covers the services on the request path, not one log stream. Deploys, flag flips and config pushes inside the window are kept as events, since several changes usually precede an incident and only one caused it.

Baselines are the other half. Healthy production systems log errors constantly: client disconnects, retried timeouts, expected validation failures. A model that has seen only incident windows learns that errors mean trouble. Quiet windows from the same services at a comparable hour and load, and deploy windows that caused nothing, show what normal looks like and serve as hard negatives. A useful request therefore lists incident windows by type, the services and signals in each, the margins and the ratio of baseline to incident windows.

Sampling and log levels decide what was recorded

Few organizations with real traffic store every trace. With head sampling, the decision to keep a trace is made at the first service, before anyone knows how the request will end, and it travels with the trace context. A rare failure is then usually absent, and its log lines carry a trace ID that points at nothing. With tail sampling, a collector waits for the trace to finish and keeps it according to policy, typically every trace with an error or high latency and a small share of the rest. A store built that way is rich in failures and looks nothing like live traffic, where most requests succeed.

Error rates and latency distributions computed from a tail-sampled store are wrong unless each trace carries its sample rate and counts are re-weighted. A model trained on it also meets a far higher share of failing traces than an agent watching production would, so it learns to expect faults.

Logs are filtered too. Production services usually run at info or warning level, so the debug lines that would explain a fault were never written. Engineers often raise the level or the sampling rate during an incident, which makes incident windows more verbose than baselines for reasons unrelated to the fault, and a model can learn that shortcut. Exclusion filters drop noisy lines before indexing, collection agents can shed lines under load, just when volume spikes, and an uninstrumented service appears only as its caller's timeout. A window is interpretable when it ships with a record of levels, filters, sampling and known gaps.

What to check before licensing

  • Ask how window boundaries were set, and on the sample compare the declared incident start with the first abnormal signal.
  • Ask for each service's trace sampling mode and rate over the period, and whether a per-trace sample rate is stored.
  • Ask which log levels ran in production, whether levels were raised during incidents, and which drop or exclusion filters applied before indexing.
  • Ask how user identifiers, IP addresses, request payloads, authorization headers, tokens and connection strings were detected and scrubbed in log bodies and span attributes.
  • Run your own secret and personal data scanners on the sample, including URL query strings, SQL statements and exception messages that echo user input.
  • Check that placeholders are consistent across services, so users, hosts and trace IDs still join, and that multi-line stack traces arrive as one record.
  • Verify that each ending change resolves to a commit or config diff in the delivery, and ask how incidents ended by a restart or failover are labeled.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

How is this different from an incident postmortem or alert history dataset?

This dataset is the raw telemetry, not the account of it. A postmortem is the narrative people wrote afterward, and an alert history records which monitors fired and who was paged. Here you get the log records, spans and metric series for the window around the incident, with the change that ended it. The three can be joined where the partner kept incident IDs across its tools, so ask for the link.

Why specify windows instead of a volume of logs?

Because volume says nothing about how many labeled examples you get. A terabyte from one quiet service can hold no incidents at all, while a small set of windows around known incidents, each with its fix and a matching baseline, gives a model something to learn and a grader something to check.

How is personal data in log lines handled?

Personal details are removed or replaced before delivery, and logs need more checking than most data. They pick up personal data by accident: emails in URLs, IP addresses, request bodies logged on error, tokens in headers. Ask which detectors ran over free text, and whether structured fields got consistent pseudonyms so joins still work. No method is perfect, so run your own scanners over the sample.

Are the traces complete or sampled?

Usually sampled, so ask that each window say how. Head sampling keeps a random share of requests chosen at the start, and tail sampling keeps traces selected after they finish, usually errors and slow requests. A usable window records the sampling mode and rate, whether a per-trace sample rate is available for re-weighting, and what share of log records point to a stored trace.

How far back do production logs go?

Usually not far in searchable form. Indexed logs and traces are expensive to keep, so retention in the query tier is often short, and older data survives only where the partner archived it to object storage. Ask for the earliest date with full logs and with stored traces before you size a request.

Which platforms and formats can be included?

Any platform that can export records with timestamps and service identity, including Datadog, Splunk, Elastic, Grafana Loki and Tempo, Honeycomb and Jaeger. Each names fields differently, so ask for one schema across sources, for example one based on the OpenTelemetry log and span data models, with a mapping from the original field names. Ask for log text as written, with parsed templates as a separate layer.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026.

See if your company qualifies