Skip to content

[9.2](backport #49237) ES index mode & codec in metricbeat#49469

Merged
consulthys merged 2 commits intoelastic:9.2from
3kt:fix/9.2-backport-es-index-mode-codec
Mar 13, 2026
Merged

[9.2](backport #49237) ES index mode & codec in metricbeat#49469
consulthys merged 2 commits intoelastic:9.2from
3kt:fix/9.2-backport-es-index-mode-codec

Conversation

@3kt
Copy link
Copy Markdown
Contributor

@3kt 3kt commented Mar 13, 2026

Summary

Changes vs #49317

  • Clean backport from 9.2 base — no merge conflict markers
  • Only includes the 8 files relevant to the feature (vs 113 files in the broken Mergify backport)
  • Regenerated metricbeat/module/elasticsearch/fields.go using mage fields

Test plan

  • metricbeat: pre-commit CI passes
  • metricbeat: check/update CI passes
  • Verify elasticsearch.index.mode and elasticsearch.index.codec appear in events when index settings are present
  • Verify events for indices without these settings still publish without errors

Supersedes #49317

🤖 Generated with Claude Code

Add `mode` and `codec` fields to the elasticsearch.index metricset,
sourced from the index /_settings API.

Backport of elastic#49237 to 9.2. Supersedes elastic#49317 which had cherry-pick
conflicts in CHANGELOG.asciidoc.
@3kt 3kt requested review from a team as code owners March 13, 2026 11:43
@3kt 3kt requested review from VihasMakwana and orestisfl and removed request for a team March 13, 2026 11:43
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Mar 13, 2026
@botelastic
Copy link
Copy Markdown

botelastic bot commented Mar 13, 2026

This pull request doesn't have a Team:<team> label.

@github-actions
Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@mergify mergify bot assigned 3kt Mar 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 13, 2026

✅ Vale Linting Results

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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 13, 2026

Copy link
Copy Markdown
Member

@vishaangelova vishaangelova left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@consulthys consulthys left a comment

Choose a reason for hiding this comment

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

LGT Stack Monitoring

@consulthys consulthys merged commit 31996ef into elastic:9.2 Mar 13, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants