Skip to content

docs(outputs): document is_create_action for Elastic data streams - #393

Merged
maximelb merged 2 commits into
masterfrom
feat/elastic-create-bulk-action
Sep 8, 2026
Merged

docs(outputs): document is_create_action for Elastic data streams#393
maximelb merged 2 commits into
masterfrom
feat/elastic-create-bulk-action

Conversation

@maximelb

@maximelb maximelb commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

What

Documents the new is_create_action parameter on the Elastic output destination, plus a short "Sending to a data stream" section with an example.

Why

Elasticsearch data streams support only the create action in a _bulk request. The output defaults to index, so pointing it at a data stream without the toggle rejects every record — worth stating explicitly rather than leaving users to infer it from a bulk error.

Testing

  • npx markdownlint-cli2 clean.
  • Both linked Elastic docs pages return 200.

@maximelb

maximelb commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

/lc-review

lcbill
lcbill previously approved these changes Sep 8, 2026
@maximelb

maximelb commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

/lc-review

Elasticsearch data streams accept only the "create" bulk action, so an
Elastic output aimed at one had every record rejected until now. Documents
the new toggle and shows the data stream configuration.
Switching the bulk action is necessary but not sufficient: Elastic also
rejects any document indexed into a data stream that has no @timestamp
field, and LimaCharlie records carry their time in routing.event_time
instead. Documents both ways to supply it so the toggle does not simply
trade one silent rejection for another.
@maximelb
maximelb force-pushed the feat/elastic-create-bulk-action branch from 7b4f8c5 to f7375fc Compare September 8, 2026 15:38
@maximelb
maximelb merged commit 9175bb5 into master Sep 8, 2026
7 checks passed
@maximelb
maximelb deleted the feat/elastic-create-bulk-action branch September 8, 2026 16:00
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