Skip to content

Document elasticsearch.index routing and API key write scope for the Managed OTLP Endpoint - #9365

Open
alexandra5000 wants to merge 1 commit into
elastic:mainfrom
alexandra5000:docs/motlp-elasticsearch-index-routing
Open

alexandra5000 wants to merge 1 commit into
elastic:mainfrom
alexandra5000:docs/motlp-elasticsearch-index-routing

Conversation

@alexandra5000

Copy link
Copy Markdown
Contributor

Summary

Documents routing OTLP data to a specific index with the elasticsearch.index attribute for the Managed OTLP Endpoint, and makes the write scope of the managed-inputs API key explicit so users can factor it into their security decisions. Because the routing content outgrew its section on the endpoint page, it now lives on a dedicated Data routing child page.

This replaces elastic/opentelemetry#686, which was orphaned when the managed inputs docs moved to docs-content (elastic/opentelemetry#688).

Closes #6962

Changes

  • reference/managed-inputs/data-routing.md (new page, child of the Managed OTLP Endpoint page): default routing behavior, the existing dataset/namespace routing content, and a new "Routing telemetry to a specific index" section covering the elasticsearch.index attribute — supported attribute levels, precedence over data_stream.* attributes, removal from the final document, the logs-/metrics-/traces- prefix constraint, a transform processor example, and a warning that custom-index routing bypasses Elastic's built-in OpenTelemetry index templates, making the user responsible for the index template and mappings. The routing troubleshooting admonition moved here as a "Troubleshooting unexpected routing" section and now covers elasticsearch.index.
  • reference/managed-inputs/managed-otlp-endpoint.md: the routing sections are replaced with a short "Data routing" pointer section. Expanded the Authentication note: the API key can write to any logs-, metrics-, or traces- data stream, and any client holding the key can route data to any of them.
  • reference/managed-inputs/authentication-delivery-and-failure-handling.md: expanded the index-level privilege scoping note to state the shared key's effective write scope across managed inputs, and pointed users who need index-scoped API keys to a self-managed Collector path.
  • redirects.yml: anchor redirect for the published #routing-telemetry-to-dedicated-datasets-or-namespace anchor to the new page.
  • reference/managed-inputs/toc.yml: navigation entry for the new page.

🤖 Generated with Claude Code

…Managed OTLP Endpoint

Moved from elastic/opentelemetry#686 after the managed inputs docs moved to docs-content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alexandra5000
alexandra5000 requested a review from a team as a code owner November 11, 2026 13:04
@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

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

  • Review docs changes (docs-review). Status: not started.

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

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
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.

alexandra5000 added a commit to alexandra5000/opentelemetry that referenced this pull request Nov 24, 2026
…P Endpoint

The Managed OTLP Endpoint pages moved to docs-content (elastic#688), so the
routing and API key changes now live in elastic/docs-content#9365. This
keeps only the pointer from the data streams page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alexandra5000

Copy link
Copy Markdown
Contributor Author

@raultorrecilla thanks for approving elastic/opentelemetry#686! The Managed OTLP Endpoint pages have since moved to docs-content, so this PR now carries that same content. The Data routing page is identical, and the other two pages differ only in link paths and the updated "Elastic Agent configured as an OTel Collector" wording. Could you approve it here as well? Your approval on #686 no longer applies, because I cut that PR down to a single link from the data streams page.

This branch was successfully deployed

1 active deployment
docs-preview — 19a59732 Deployed Nov 11, 2026 by github-actions[bot]
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.

[Website]: Managed OTLP docs don't mention elasticsearch.index routing

1 participant