Repository navigation
Description
Description
What:
Update Entity Store documentation for 9.4 so it reflects the current Entity Store v2 behavior rather than the older v1 model.
The docs should cover these customer-facing changes and clarifications:
-
Breaking changes:
- v1 API deprecation / replacement
- consolidation from per-type v1 latest indices into the v2 shared latest alias/index model
-
Enablement:
- automatic enablement in the default space
- non-default space behavior: automatic install only where v1 was already installed, otherwise enable through the management UI or API
-
Operational:
- new public management APIs for install, update, status, start, stop, uninstall
- v2 architecture is no longer transform-based; docs should describe shared assets:
- the latest alias/index - user should should use it in case they plan to query the entity store indices directly.
- updates data stream
- Kibana tasks for scheduled log extraction / history snapshot / status tasks
-
Guidance:
- performance / scale guidance
- troubleshooting guidance (what parameters the customer can play with to tweak the log extraction operation).
- supported integrations
- Should we add a note that we do not support CPS at the moment? (relevant for serverless)
When:
These changes are part of the 9.4 customer experience and should be reflected in the 9.4 docs set.
Why:
The current public docs still describe v1-era transforms, and per-type .entities.v1.latest.* indices. That creates a mismatch between what customers read and what the product now does in 9.4.
Requested doc updates:
- Breaking changes / migration notes
- Document the v1 API deprecation and the route replacement.
- Document the shared latest alias/index model in v2.
- Replace examples that reference
.entities.v1.latest.security_user_*,.entities.v1.latest.security_host_*, and.entities.v1.latest.security_service_*. - Clarify that v2 installation removes v1 resources (transforms, enrich policy, etc) during initialization where applicable while keeping the data itself - the v1 indexes.
Entity Store v2 creates several Elasticsearch resources in the current Kibana space:
- An latest entity alias such as `entities-latest-<SPACE>` backed by a concrete index such as `.entities.v2.latest.security_<SPACE>-<MAPPING_VERSION>`.
- An updates data stream such as `.entities.v2.updates.security_<SPACE>` with alias `entities-updates-SPACE`
- History snapshot indices such as `.entities.v2.history.security_<SPACE>.<TIMESTAMP>`.
Entity Store v2 does not use a separate reset index. Unlike v1, reset behavior is applied directly to the latest index as part of the history snapshot workflow.
- Enablement behavior (I believe this one is already covered)
- Document automatic enablement in the default space.
- Document non-default space behavior and the cases where explicit enablement is still required.
- Clarify the management-page experience and what the shared
Enablebutton does.
- Operational / architecture changes
- Add links to the current public operational APIs.
- Troubleshooting
To determine whether log extraction is slow or unhealthy, check the **Engine Status** tab or query the **Entity Store status API**.
A process may be **slow** if:
- new entities are not appearing as expected
- the last successful execution does not appear to advance (`lastExecutionTimestamp`)
A process may be **unhealthy** if:
- the engine enters an `error` state
- component health indicators are degraded
- extraction appears stalled and no forward progress is visible
If log extraction appears slow, the following log extraction configuration can be modified to balance freshness, coverage, and query cost.
#### `frequency`
Use `frequency` to control how often extraction runs.
- Decrease frequency (minimum supported value is `30s`) if extraction is healthy but too resource-intensive and Elasticsearch CPU utilization is too high.
#### `docsLimit`
Use `docsLimit` to control how many entities can be processed in one extraction page.
- Lower it if queries are too heavy or time-consuming.
- Default: `10000` entities.
#### `maxLogsPerPage`
Use `maxLogsPerPage` to cap the raw-log slice size before aggregation.
- Lower it if queries are too heavy or time-consuming.
- Default: `40000` documents.
Start with `maxLogsPerPage` rather than `docsLimit` when extraction is slow or unstable, because it reduces the amount of raw source data processed in each extraction operation. Adjust `docsLimit` if tuning `maxLogsPerPage` is insufficient and you still see performance issues.
- Supported Integrations:
Common supported integrations for entity creation include identity and account sources such as Active Directory, Microsoft Entra ID, Okta, Google Workspace, Microsoft 365, and AWS CloudTrail, as well as endpoint and host telemetry sources such as Elastic Defend, CrowdStrike, SentinelOne, Microsoft Defender for Endpoint.
Which deployment methods does this change impact?
Elastic On-Prem and Cloud (all)
What Elastic Stack release is this request related to?
9.4
Collaboration model
We expect to collaborate on the first draft
Point of contact
Main contact: @uri-weisman
Stakeholders:
- @erikh-elastic
- @elastic/core-analysis
Elastic Docs AI Scoping 🤖
Docs issue scope
Summary
The issue requests updating Entity Store documentation to reflect the v2 architecture shipped in 9.4, replacing v1 references (transforms, enrich policies, per-type .entities.v1.latest.* indices) with v2 concepts (shared latest alias/index, updates data stream, history snapshots, new management APIs). The linked Kibana PRs (#262680 enabling v2 FF for 9.4, #263673 updating roles) confirm v2 is shipping in 9.4. The current docs in entity-store.md, overview.md, and entity-risk-scoring-requirements.md still describe v1 resources, creating an accurate mismatch between docs and product.
Request accuracy
Accurate — the current docs do reference v1 architecture and the linked code confirms v2 is being enabled in 9.4.
Next action for author
Update entity-store.md (primary), overview.md (v1 index note), and entity-risk-scoring-requirements.md (v1 privileges), and add new troubleshooting content and supported integrations.
Impact: High
Scope boundary
The risk scoring engine docs (turn-on-risk-scoring-engine.md) already contain 9.4+ versioned content for the toggle/enable flow and do not appear to need changes for this issue.
Recommended documentation targets
| Page | URL | Action | Impact | Confidence | Why this page? |
|---|---|---|---|---|---|
| Entity store | https://www.elastic.co/docs/solutions/security/advanced-entity-analytics/entity-store | Update existing page | High | High | Primary how-to page for the feature; describes v1 architecture that is now outdated |
| Entity analytics overview | https://www.elastic.co/docs/solutions/security/advanced-entity-analytics/overview | Update existing page | High | High | Contains a hardcoded note pointing users to query .entities.v1.latest.* indices (line 128) |
| Entity risk scoring requirements | https://www.elastic.co/docs/solutions/security/advanced-entity-analytics/entity-risk-scoring-requirements | Update existing page | Medium | High | Privileges section lists v1-specific cluster privileges (manage_enrich, manage_transform, manage_ingest_pipelines) and v1 index paths that will change in v2 |
| Entity store (troubleshooting section) | https://www.elastic.co/docs/solutions/security/advanced-entity-analytics/entity-store | Add section to existing page | Medium | High | No troubleshooting content exists; issue provides specific guidance on frequency/docsLimit/maxLogsPerPage tuning |
| Elastic Security APIs | https://www.elastic.co/docs/solutions/security/apis | Review only | Low | Medium | Already links to Entity Analytics API; may need a note about new public v2 management APIs once the API reference is published |
Recommendations
- Update
entity-store.md— replace the v1 architecture description (transforms, enrich policies,.entities.v1.latest.*indices, reset indices) with the v2 model: shared latest alias/index (entities-latest-<space-id>backed by.entities.v2.latest.security_-<space-id>), updates data stream (.entities.v2.updates.security_<space-id>), and history snapshot indices (.entities.v2.history.security_*). Add a note that v2 installation removes v1 resources (transforms, enrich policy) while retaining v1 data. - Add a troubleshooting section to
entity-store.md— include the Engine Status tab / status API workflow for identifying slow or unhealthy processes, and thefrequency,docsLimit, andmaxLogsPerPagetuning parameters provided in the issue. - Add a supported integrations section to
entity-store.md— list identity/account sources (Active Directory, Entra ID, Okta, Google Workspace, M365, AWS CloudTrail) and endpoint/host sources (Elastic Defend, CrowdStrike, SentinelOne, MDE). - Update
overview.md— update the note at the Entities section to reference v2 index paths instead of the three.entities.v1.latest.*indices. - Update
entity-risk-scoring-requirements.md— revise the Entity store privileges table to reflect v2 requirements: removemanage_enrich,manage_transform,manage_ingest_pipelinescluster privileges if no longer needed, and update the index path from.entities.v1.latest.*to the v2 alias/index pattern. - Consider a 9.4 breaking-changes or migration note — document v1 API deprecation and route replacements; this could be a dedicated section in
entity-store.mdor added to the security release notes. - Non-default space behavior — confirm with the author whether the non-default space auto-install logic requires an explicit documentation update, or whether the existing enablement content already covers it.
Notes
- Items 1–3 all target
entity-store.md, which is a mixed how-to/reference page. Troubleshooting content fits this page as a bottom-level section, consistent with the existing section structure (Enable → Clear → Verify Engine Status). - The supported-integrations section could also link to the relevant integration pages (
entityanalytics_ad,entityanalytics_entra_id,entityanalytics_okta) already referenced inoverview.md. - The CPS note (serverless only) should be coordinated with the serverless team before adding.
- Privileges changes in
entity-risk-scoring-requirements.mdshould be verified against the merged roles PR (#263673) before updating.
Docs automation | From workflow: Issue Scope Analyzer
React with 👍 if helpful, 👎 if not.
Activity
github-actions commentedon Apr 19, 2026
Elastic Docs AI Menu
Check one box to run an AI workflow for this issue.
docs-triage).docs-issue-scope).Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.
uri-weisman commentedon Apr 19, 2026
@erikh-elastic I wonder what we want to show under supported integrations, I've added a vague statement to not restrict us too much.
erikh-elastic commentedon Apr 21, 2026
I think a couple samples maybe even less in this line will be fine. We just need to point the user with a link to the actual list of integrations. So many something along the lines of Okta, Active Directory, etc. Then hyperlink the entire example to link to another section in the doc with the entire list of supported integrations. @natasha-moore-elastic
natasha-moore-elastic commentedon Apr 21, 2026
Hey @erikh-elastic, not sure I follow. Are you saying we should
or
erikh-elastic commentedon Apr 27, 2026
Are those the only integrations we support? @uri-weisman
I was hoping there are more.
Entity Analytics Portfolio updates (elastic#5994)