Start with an analyst question
OpenSearch can index and search security-relevant data, but an ingestion pipeline is useful only when it supports a defined investigation, detection, or reporting question. Choose a small initial set of sources and queries, then define the fields, timestamps, environment labels, and retention needed to answer them.
An index holding more events is not automatically a better security service. Unparsed, inaccessible, or short-lived data can fail an analyst when it matters.
Map ingestion from source to index
Map collectors, transformations, queues or buffers where used, index templates, mappings, failure handling, and source ownership. Test malformed events, schema changes, clock skew, duplicate input, and a source outage. Keep sensitive fields out of telemetry where they do not support the use case.
Use documented OpenSearch guidance for the chosen version and components. Record ingestion rate, peak bursts, rejected documents, and the path for reprocessing a defined source range.
Separate analyst access from administration
Map who may administer clusters, manage index patterns or detection content, query production data, and export results. Use least-privilege roles and test them with ordinary accounts. A dashboard hiding an index is not a replacement for index-level access design.
Detection content needs owners, source assumptions, test events, tuning history, and a response path. A rule without an expected investigation step becomes alert noise.
Set retention from evidence needs
Retention depends on investigation windows, legal and policy needs, volume, storage, and recovery objectives. Measure data by source and index pattern. Decide what rolls over, deletes, archives, or is held longer, then prove analysts can run the intended queries across the chosen period.
Backups and snapshots are recovery mechanisms, not necessarily a searchable security archive. State their access and restore boundary separately.
Security analytics decisions
Keep this record with the security data platform.
| Area | Decision | Evidence |
|---|---|---|
| Sources | Which logs support named use cases? | Source register and test events. |
| Mappings | Which fields and schemas are required? | Parsed-event and failure test. |
| Access | Which roles query, administer, or export? | Restricted-account test. |
| Retention | What remains searchable and recoverable? | Measured growth and query test. |
Questions to resolve
Can all logs share one index pattern?
Only if fields, retention, access, and query needs align. Separate patterns can make ownership and lifecycle clearer.
What proves a detection is useful?
A safe representative event reaches the intended rule, an analyst can query supporting context, and a named response path exists.
What after a mapping change?
Test representative sources, queries, dashboards, retention policy, and rollback or reindex implications before broad rollout.
Build a usable data path
Select use cases, sources, fields, roles, detection owners, and retention.
Test ingestion, bad events, permissions, a safe detection, and analyst queries.
Review pipeline health, index growth, access, detections, backups, and version changes.
Operating checks
Keep proof beside the platform runbook.
Source health
Each source has owner, ingestion signal, and failure action.
Access test
A restricted analyst can query intended evidence but cannot administer indexes.
Query exercise
A safe event can be detected and investigated through the intended retention window.

