[9.2](backport #49237) ES index mode & codec in metricbeat#49317
[9.2](backport #49237) ES index mode & codec in metricbeat#49317mergify[bot] wants to merge 1 commit into9.2from
Conversation
* Add `mode` and `codec` fields to the `elasticsearch.index` metricset in Metricbeat. Update index settings retrieval and mapping to include these new fields. * Add new exported fields for Elasticsearch in Metricbeat documentation * Make update * Added fragment (cherry picked from commit 7dc72ea) # Conflicts: # CHANGELOG.asciidoc
|
Cherry-pick of 7dc72ea has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
🤖 GitHub commentsJust comment with:
|
✅ Vale Linting ResultsNo 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. |
🔍 Preview links for changed docs |
|
This pull request has not been merged yet. Could you please review and merge it @3kt? 🙏 |
|
Conflicts need to be fixed. |
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.
|
This pull request has not been merged yet. Could you please review and merge it @3kt? 🙏 |
|
This can be closed as #49469 has been merged (I don't have the permissions to do it myself) |
|
This pull request has not been merged yet. Could you please review and merge it @3kt? 🙏 |
1 similar comment
|
This pull request has not been merged yet. Could you please review and merge it @3kt? 🙏 |
|
This pull request has not been merged yet. Could you please review and merge it @3kt? 🙏 |
Type of change: Enhancement
Proposed commit message
Add
modeandcodecfields to the elasticsearch.index metricsetWHAT:
elasticsearch.index.mode(e.g. time_series) andelasticsearch.index.codec(e.g. default, best_compression, none), sourced from the index/_settingsAPI.*.settings.index.modeand*.settings.index.codec, and populate the new fields in addIndexSettings only when present.modeandcodecto the Index struct (omitempty), to the index metricset fields.yml (keyword), to the sample data.json, and to CHANGELOG.asciidoc.WHY:
Checklist
stresstest.shscript to run them under stress conditions and race detector to verify their stability../changelog/fragmentsusing the changelog tool.Disruptive User Impact
None. The change only adds optional fields. Existing dashboards and queries are unchanged; new fields appear in events when the Elasticsearch index exposes
index.modeorindex.codecin/_settings.Author's Checklist
mage FieldsDocs(ormake update) if required by project workflowHow to test this PR locally
index.modeorindex.codecset if possible).elasticsearch.index.modeand/orelasticsearch.index.codecappear when the index settings are present.Related issues
Use cases
Screenshots
N/A
Logs
N/A
This is an automatic backport of pull request #49237 done by Mergify.