Update the Logstash output doc with guidance on using a single ES output - #8203
Open
vishaangelova wants to merge 1 commit into
Open
Update the Logstash output doc with guidance on using a single ES output#8203vishaangelova wants to merge 1 commit into
vishaangelova wants to merge 1 commit into
Conversation
Contributor
Elastic Docs AI PR menuCheck 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. |
Contributor
🔍 Preview links for changed docs |
Contributor
✅ Elastic Docs Style Checker (Vale)No issues found on modified lines! 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. |
Co-authored-by: Cursor <cursoragent@cursor.com>
vishaangelova
force-pushed
the
7854-logstash-output-single-es
branch
from
September 4, 2026 12:46
8ce2dc1 to
c2cde99
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a Use a single Elasticsearch output section documenting an alternative to the dual-output example in the Fleet Logstash output doc.
Closes #7854
Verification
Used Claude to check against
logstash-plugins/logstash-output-elasticsearchatHEAD:data_stream_event_action_tuplecalls the samecommon_event_params, which reads[@metadata][_ingest_document], so this works withdata_stream => true.resolve_document_idprefers an explicitdocument_id, so the two must not be combined. Documented as a caveat.elastic_integrationfilter replaces the whole[@metadata][_ingest_document]map viaevent.setField, so themutatemust come after it. Also documented.Reviewer note
[@metadata][_ingest_document][id]is documented as an output of theelastic_integrationfilter, but the Elasticsearch output plugin's docs never mention that it consumes the field. Documenting it here makes an internal contract semi-public, so I'd like a Logstash maintainer (cc @robbavey, per the issue) to confirm this is acceptable before merge.A follow-up PR will apply the same treatment to
docs/reference/filebeat/filebeat-deduplication.mdinelastic/beats, which carries the identical dual-output pattern.Generative AI disclosure
Tool(s) and model(s) used: Cursor (Claude Opus 5)