Skip to content

Fix TSDS tutorial examples - #7981

Merged
lcawl merged 2 commits into
elastic:mainfrom
lcawl:tsds-tutorial-fix
Aug 18, 2026
Merged

Fix TSDS tutorial examples#7981
lcawl merged 2 commits into
elastic:mainfrom
lcawl:tsds-tutorial-fix

Conversation

@lcawl

@lcawl lcawl commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR fixes three code snippets in https://www.elastic.co/docs/manage-data/data-store/data-streams/set-up-tsds that fail because they use metrics-prod instead of metrics-weather-sensors.
They currently return the following errors:

{
  "error": {
    "root_cause": [
      {
        "type": "index_not_found_exception",
        "reason": "no such index [metrics-prod]",
        "resource.type": "index_or_alias",
        "resource.id": "metrics-prod",
        "index_uuid": "_na_",
        "index": "metrics-prod"
      }
    ],
    "type": "index_not_found_exception",
    "reason": "no such index [metrics-prod]",
    "resource.type": "index_or_alias",
    "resource.id": "metrics-prod",
    "index_uuid": "_na_",
    "index": "metrics-prod"
  },
  "status": 404
}

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No

@lcawl
lcawl requested review from a team as code owners August 17, 2026 21:38
@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 Aug 17, 2026

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

@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.

@kosabogi kosabogi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@lcawl
lcawl enabled auto-merge (squash) August 18, 2026 13:26
@lcawl
lcawl merged commit 39898a0 into elastic:main Aug 18, 2026
7 checks passed
@lcawl
lcawl deleted the tsds-tutorial-fix branch August 18, 2026 14:34
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