Skip to main content
User guide

Runbooks

SOPs, runbooks, and environment notes form a searchable knowledge base. Triage, investigation, rule generation, and check-up readings cite it automatically.

Runbooks is the retrieval (RAG) knowledge base, available in every edition. Uploaded documents are chunked, embedded, and stored in the .rst_copilot_kb index in Elasticsearch. Before triage scoring, investigation verdicts, detection-rule generation, and platform check-up readings, the gateway searches it, passes the matching passages to the model, and states how many documents were used.

How the knowledge base works

Runbooks needs an embedding model, configured under AI settings. Without one, the page reports that runbooks are off.

What to upload

Environment notes pay off most, for example "10.30.9.5 is the Zabbix node; its port probes are normal". The model has no other way to know which host monitors, or which subnet holds the jump hosts.

KindExampleUsed by
Incident playbooks and SOPsRansomware response, compromised-host isolationInvestigation and triage recommendations
Environment notesMonitoring nodes, jump-host subnets, scanner addressesFalse-positive assessment in triage and investigation
Detection conventionsRule naming, severity definitions, ATT&CK mapping habitsDetection-rule generation
Cluster runbooksShard strategy, ILM conventionsPlatform health AI reading

Upload a document

Upload a document

Steps

  1. Select Upload.
  2. In Title, enter the name shown in search results and citations.
  3. In Body, paste Markdown or plain text. 5,000 to 20,000 characters works well; the dialog estimates the chunk count as you type.
  4. (Optional) Under Metadata (optional), add up to 6 pairs such as source: internal-wiki or owner: soc-l2. Metadata is stored with each chunk so search results show the origin.
  5. Select Submit and embed.

Embedding runs on the gateway. A local model takes a few minutes for about 1,000 chunks. The document then appears in Library. Deleting a document removes all its chunks.

Library

Test retrieval

On the Search test tab, enter a question to see the matching passages with their score and source document. Use it to check chunking and phrasing.

Search test

Low hit rates usually come from long documents without headings, or from wording far from the document's.

Change the embedding model

A model with a different dimension cannot reuse the existing index. The gateway refuses the save and names both dimensions. Switch back to the original model, or delete the .rst_copilot_kb index and upload the documents again.

On this page