Skip to content

[Entity Store] Document 9.4.2 log extraction tuning knobs#6677

Draft
uri-weisman wants to merge 1 commit into
elastic:mainfrom
uri-weisman:entity-store/troubleshoot-942-knobs
Draft

[Entity Store] Document 9.4.2 log extraction tuning knobs#6677
uri-weisman wants to merge 1 commit into
elastic:mainfrom
uri-weisman:entity-store/troubleshoot-942-knobs

Conversation

@uri-weisman
Copy link
Copy Markdown
Contributor

@uri-weisman uri-weisman commented May 24, 2026

Summary

Updates the Entity Store troubleshooting section in solutions/security/advanced-entity-analytics/entity-store.md to cover the log extraction tunables added in 9.4.2 (elastic/kibana#269482, elastic/kibana#270180) and refreshes the maxLogsPerPage default to reflect the 9.4.2 value bump (elastic/kibana#270617).

What's new in the section

  • maxLogsPerWindow — per-task-run total-volume cap (new in 9.4.2). Documented as the most effective lever for protecting a cluster from sudden ingest spikes, because it bounds the work a single extraction task can do regardless of how many slices the window is split into.
  • maxLogsPerWindowCapBehavior — new in 9.4.2. Documents both drop (default, cluster-health-first) and defer (coverage-first) modes and the coverage-vs-freshness trade-off between them.
  • maxLogsPerPage default — version-gated to show 40000 for 9.4.0–9.4.1 and 50000 for 9.4.2

Why now

We've seen multiple SDHs (#1675, #9945, EOG, plus internal Infosec) where Entity Store v2 extraction overwhelmed hot data nodes after 9.4.0. The 9.4.2 knobs are the supported mitigation path; this page is where Support and customers look first.

applies_to notes

  • New fields are gated serverless: planned to match the rest of the troubleshoot section. Once the Serverless rollout date is known, update accordingly.

Adds troubleshooting entries for the per-window volume cap introduced in
9.4.2 (maxLogsPerWindow, maxLogsPerWindowCapBehavior) and version-gates
the maxLogsPerPage default to reflect the 9.4.3 value bump.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 24, 2026

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 24, 2026

🔍 Preview links for changed docs

@github-actions
Copy link
Copy Markdown
Contributor

Vale Linting Results

Summary: 1 warning found

⚠️ Warnings (1)
File Line Rule Message
solutions/security/advanced-entity-analytics/entity-store.md 234 Elastic.Spelling 'cpu' is a possible misspelling.

The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

@uri-weisman
Copy link
Copy Markdown
Contributor Author

@natasha-moore-elastic we would also like to add a recommendation:

Note for CCS users: Entity Analytics ingests logs from every remote cluster. To avoid unnecessary load, please disable EA on any remote cluster where it isn't actively used

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs review summary

Focus areas

  • Style and clarity: Two grammar and spelling issues found (CPU capitalization, spelling error, subject-verb agreement).
  • Jargon: No jargon issues detected. Technical terms are appropriately explained in context.
  • Frontmatter and applies_to: Frontmatter is correct. The applies_to version gating for the new 9.4.2 parameters follows repository conventions correctly.
  • Content type fit: Changes fit the troubleshooting section well. The new parameters are clearly documented with use-case guidance and defaults.
  • Parent issue satisfaction: Not applicable (no linked parent issue).

Notes

  • The Vale linter already flagged the CPU capitalization issue on line 234, which is included in the inline comments.
  • The new 9.4.2 tuning parameters (maxLogsPerWindow and maxLogsPerWindowCapBehavior) are well-structured and provide clear operational guidance.
  • The version gating using applies_to blocks and inline {applies_to} syntax is correct and consistent with the rest of the page.

Generated by Docs review agent for issue #6677 · ● 645.3K

Use `maxLogsPerWindow` to cap the total number of raw log documents processed in a single extraction run, across all slices in the window.

* Lower it if a single task run can still saturate {{es}} CPU even after lowering `maxLogsPerPage`. This is the most effective lever for protecting a cluster from CPU overload, because it bounds the work a single extraction task can do.
* Increase in case cluster cpu is not overloaded and can handle the amount of proccessed logs.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling: "cpu" should be capitalized as "CPU". Also "proccessed" should be "processed".

Suggested change
* Increase in case cluster cpu is not overloaded and can handle the amount of proccessed logs.
* Increase in case cluster CPU is not overloaded and can handle the amount of processed logs.

Use `maxLogsPerWindowCapBehavior` to control what happens when `maxLogsPerWindow` is reached during a run.

* `drop` — the next run advances past the uncapped logs (cursor jumps to the end of the window). Logs above the cap are skipped permanently. Use this to keep the cluster healthy in exchange for coverage gaps when ingest exceeds the cap.
* `defer` — the next run resumes from where the cap fired and processes the remaining logs. Use this to preserve full coverage at the cost of falling behind real time when logs exceeds the cap.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar: Subject-verb agreement issue. "logs" (plural) should pair with "exceed" (plural verb), not "exceeds".

Suggested change
* `defer` — the next run resumes from where the cap fired and processes the remaining logs. Use this to preserve full coverage at the cost of falling behind real time when logs exceeds the cap.
* `defer` — the next run resumes from where the cap fired and processes the remaining logs. Use this to preserve full coverage at the cost of falling behind real time when logs exceed the cap.

@natasha-moore-elastic natasha-moore-elastic self-requested a review May 26, 2026 10:20
@natasha-moore-elastic natasha-moore-elastic self-assigned this May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants