Skip to content

Dataset

Operational runbook datasets for AI training

A runbook dataset is a collection of the procedures an operations team follows to keep production systems running: alert-specific response steps, diagnostic commands, rollback and failover instructions and automation scripts, with revision history and the alerts and incidents each one was used on. SourceX sources these to a buyer's spec from established businesses whose site reliability, platform and IT operations teams keep them in wikis, repositories and incident tools. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Alert response procedures, rollback steps and automation scripts, joined to the alerts and incidents they were used on
Typical systems
Confluence, Markdown in Git repositories, PagerDuty, Opsgenie, Rundeck, Prometheus Alertmanager, AWS Systems Manager
Typical history
Specified by the buyer; limited by page and repository history and the paging tool's retention
Modality
Procedure text with command blocks, scripts and job definitions, plus structured alert and execution records
Delivery formats
Agreed per order; pages as Markdown or HTML, scripts and YAML as written, JSONL for revisions, alerts and commands
Preparation
Secrets, hostnames, IP addresses and access paths replaced with consistent placeholders; people pseudonymized
Licensing
Scoped per team or service; permitted use set in the license; confirm vendor-written procedures are excluded
Availability
Sourced to your spec; alert pairing and command capture depend on the supplier's tooling; supply is not guaranteed
TextIllustrative

What a delivery contains

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

FieldTypeWhat it holds
runbook_idstringPseudonymous, stable ID shared by a runbook's revisions, invocations and command records.
serviceobjectThe service the runbook covers, its tier and the on-call rotation that owns it, pseudonymized.
trigger_alertsarrayAlert rules or monitors that point to this runbook, with the basis for each link: an annotation, a message link or a name match.
diagnostic_stepsarrayOrdered checks, each with its command, the expected output and the branch to take on each result.
remediation_stepsarrayActions that change the system, each with its command, required approval, verification check, undo and the point to escalate.
automationobjectScripts, playbooks or job definitions the runbook calls, and whether they run unattended or wait for a person.
revision_logarrayEvery revision with timestamp, author role, summary and stated reason, such as a postmortem action item or a deploy.
invocationsarrayEach recorded use: the alert firing or incident and the revision in force at that moment.
executed_commandsarrayCommands run during an invocation, with time, capture source, exit status and the written step each matches, or null.
deviationobjectPer invocation, the steps skipped, reordered or added and the commands that failed as written.
outcomeobjectHow the invocation ended: mitigated as written, mitigated after deviation, escalated or false alarm, with time to mitigate.
stalenessobjectEvidence that a revision no longer matched the system: the last deploy before the invocation and references that stopped resolving.
placeholdersobjectEntity types replaced before delivery and the scheme, so one host keeps one placeholder in procedure text and command logs.
Sample recordIllustrative

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

Example record

{
  "runbook_id": "rb_pg_replica_lag",
  "title": "Postgres replica lag above threshold",
  "service": { "id": "svc_orders_db", "tier": 1, "owner_rotation": "rot_data_platform" },
  "trigger_alerts": [{ "rule": "PostgresReplicationLagHigh", "link_basis": "alert_rule_annotation" }],
  "diagnostic_steps": [
    { "n": 1, "text": "Check replay lag on each replica.",
      "command": "psql -h [HOST_REPLICA] -c \"select now() - pg_last_xact_replay_timestamp()\"",
      "branch": "rising: go to 2" }
  ],
  "remediation_steps": [
    { "n": 2, "text": "Take the replica out of the read pool.", "command": "lbctl drain [HOST_REPLICA]",
      "approval": "incident_commander", "undo": "lbctl enable [HOST_REPLICA]", "escalate_after_minutes": 30 }
  ],
  "automation": { "job": "drain-replica", "type": "rundeck_job", "mode": "human_approved" },
  "revision_log": [
    { "rev": 4, "t": "2023-05-02T16:10:00Z", "reason": "postmortem_action", "ref": "pm_0231#action_3",
      "summary": "Added drain step after stale reads" },
    { "rev": 5, "t": "2024-01-18T09:30:00Z", "reason": "incident_follow_up", "ref": "inc_1188",
      "summary": "lbctl replaced by poolctl" }
  ],
  "invocations": [
    { "invocation_id": "inv_5c02", "alert_fired": "2023-11-27T03:14:09Z", "incident": "inc_1188", "rev_in_force": 4 }
  ],
  "executed_commands": [
    { "t": "2023-11-27T03:19:41Z", "source": "session_recording", "exit": 0, "matched_step": 1,
      "command": "psql -h [HOST_REPLICA_2] -c \"select now() - pg_last_xact_replay_timestamp()\"" },
    { "t": "2023-11-27T03:24:02Z", "source": "session_recording", "exit": 127, "matched_step": 2,
      "command": "lbctl drain [HOST_REPLICA_2]" },
    { "t": "2023-11-27T03:26:30Z", "source": "session_recording", "exit": 0, "matched_step": null,
      "command": "poolctl drain [HOST_REPLICA_2]" }
  ],
  "deviation": { "failed_as_written": [2], "added": ["poolctl drain [HOST_REPLICA_2]"], "approval_recorded": false },
  "outcome": { "result": "mitigated_after_deviation", "minutes_to_mitigate": 12 },
  "staleness": { "rev": 4, "last_deploy_before_invocation": "dep_7650", "stale_refs": ["lbctl"] },
  "placeholders": { "entities": ["host", "ip", "credential", "person"], "scheme": "same_in_runbooks_and_command_logs" }
}

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

What AI teams use it for

Train on-call agents to diagnose from an alert

An alert payload, its runbook and the diagnostic commands with their output form a worked example of narrowing a symptom to a cause.

Teach when to leave the runbook

Invocations where the engineer skipped or replaced steps, labeled with the outcome, show which departures were sound.

Write and repair runbooks

Revision pairs that follow a postmortem are supervised edits: the text that failed, the reason and its replacement.

Evaluate safe remediation

Steps with approvals, verification checks and undo instructions make test items for whether an agent asks before a destructive action and confirms the result.

Detect stale procedures

Runbook text set against later deploys and failed commands trains a model to flag references that no longer exist.

Use-case guides: Enterprise and computer-use agents, Coding agents, Private evaluation sets, Document AI, enterprise search and RAG

What makes this data valuable

Alert links written at the time

A runbook reference inside the alert rule or monitor message, not a later match on names.

Captured command history

Session recordings or automation job logs, not only what engineers remembered to paste.

Command output kept

The output of each diagnostic command, since the branch taken next depends on it.

Stated revision reasons

Commit messages or page comments that cite the incident or change behind each edit.

Repeat use

Runbooks invoked many times, across revisions and by more than one engineer.

Deploy records for the same services

A deploy log for the same period, without which staleness cannot be dated.

Process

Runbook dataset

This page covers operational runbooks.Illustrative

The lesson is in the gap between written and executed steps

A runbook is written calmly after an incident by someone who knew the system, and read at three in the morning by someone who may not. It becomes training data when it is joined to two things: the alert that sent the engineer to it and the commands the engineer then ran. The alert supplies the starting state: which rule fired, its labels and value, and what else was firing then. In Prometheus-style monitoring the join is often explicit, because an alert rule's annotations commonly hold a link to the runbook. Where no link was written, the match is inferred from names and should be flagged.

The executed commands are harder to get and worth more. They sit in several places, none complete. Automation tools such as Rundeck and AWS Systems Manager keep a record of each run with its inputs and output. Session recording on a bastion or access proxy captures what was typed at a shell. The incident channel holds whatever engineers pasted for each other. Shell history on the host is usually gone. A record should say where every command came from and whether its output was kept.

Line the two up and the lesson appears: the check everyone runs first that the page never lists, the command that exits with an error as written and the corrected one typed seconds later, the change made without the approval the page asks for, the moment the engineer left the page and paged a colleague. Unlike a departure from a business procedure, each of these can be scored against the system. The exit status, the output of the next diagnostic and the time the alert cleared say whether the improvised command worked. Runbooks with no alert or command record show none of this and should arrive labeled as unpaired.

Dating each revision against deploys and postmortems

Runbooks go stale because the system changes and the page does not. A deploy renames a service, a database moves to a managed offering, a command-line tool is retired, and the runbook still tells the engineer to run something that no longer exists. A wiki's last-edited date records only that someone touched the page.

Separating procedures that still worked from ones that did not takes three timelines side by side: the runbook's revisions, the deploys to the service it covers, and the incidents it was used on. A revision made just after a postmortem and citing its action item is a correction with a known cause, so the text before and after is a labeled fix. A long run of deploys with no revision, ending in an incident where commands failed or the engineer abandoned the page, marks the text as stale from somewhere in that run.

Each revision then has a window in which it was in force and evidence of whether it worked. You can keep only revisions that resolved incidents as written, for imitation, or keep the stale ones, labeled, to train a model to notice that a procedure no longer matches the system. What is possible depends on what the supplier kept. Git gives a commit and message per change. Wiki page history gives versions, with comments only if editors wrote them.

What to check before licensing

  • Ask how each runbook was linked to its alerts, and how many have no linked alert. A link written in the alert rule is stronger than a match on names.
  • Ask where executed commands came from: session recordings, automation job logs or chat pastes. Check that the source is on every record and whether output was kept.
  • Search the sample for secrets, hostnames, IP addresses, internal URLs and bastion or VPN access paths, in page text, command arguments, command output and scripts.
  • Confirm that placeholders match between a runbook and its command logs, and ask whether credentials found in the source were rotated as well as scrubbed.
  • For a few runbooks, lay the revisions against the service's deploys and incidents, and check that each invocation records the revision in force then.
  • Check who wrote the procedures. Vendor-supplied runbooks and a managed service provider's procedures for a client may not be the supplier's to license.
  • Ask how automation was exported: job definitions with parameters and the scripts they call, or only the entry script.

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 a runbook dataset different from an SOP dataset?

A runbook is tied to a specific alert on a specific production system and consists largely of commands, while an SOP describes a business process carried out by staff in applications. An SOP is checked against ticket fields and checklists. A runbook is checked against alert payloads, shell sessions and automation logs, and it goes out of date with deploys, not policy reviews.

Can we get the commands engineers actually ran?

Sometimes, depending on the supplier's tooling. Teams that run remediation through automation jobs, or record shell sessions on a bastion or access proxy, have a log of what was executed. Teams that work from laptops with direct access leave only what was pasted into the incident channel. State in your request whether command capture is required.

How are secrets, hostnames and IP addresses handled?

Secrets, hostnames and IP addresses are removed or replaced with placeholders before delivery, and you should verify that on the sample. Runbooks hold connection strings, pasted tokens, internal hostnames, IP ranges and the bastion or VPN path to a system. Placeholders must be consistent, so the host in a step is the same host in the command log. No scrubbing method is perfect, so ask whether exposed credentials were also rotated.

Should stale runbooks be left out?

Not necessarily, as long as they are labeled. An on-call agent will meet procedures that no longer match the system, and recognizing one is a skill worth training. Revisions dated against deploys and incidents let you filter either way: only text that worked as written, or stale text paired with what the engineer did when it failed. Unlabeled stale procedures are the case to avoid.

What formats do runbooks arrive in?

Runbooks arrive in mixed formats, because teams keep them in several places. Expect wiki pages, Markdown files in a Git repository, shell and Python scripts, Ansible playbooks, job definitions from automation tools and cloud automation documents in YAML or JSON. Agree per order what is normalized. Scripts and job definitions are usually best kept as written, with an index linking them to the procedure text.

What should we specify in a request?

Specify the technology and the pairing you need. Name the stack the runbooks should cover, such as Kubernetes, relational databases or a particular cloud, and say whether links to alerts, executed commands and incidents are required or only preferred. Add the years of history and the rough number of services. Supply depends on which companies agree to take part, so a match is not guaranteed.

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