[8.19](backport #49237) ES index mode & codec in metricbeat#49316
[8.19](backport #49237) ES index mode & codec in metricbeat#49316mergify[bot] wants to merge 1 commit into8.19from
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: # docs/reference/metricbeat/exported-fields-elasticsearch.md # docs/reference/metricbeat/metricbeat-metricset-elasticsearch-index.md
|
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 ResultsSummary: 4 suggestions found 💡 Suggestions (4)
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. |
|
@3kt 8.19 still uses the ascii doc files, so you will have to update the doc files from this branch manually. |
|
This pull request has not been merged yet. Could you please review and merge it @3kt? 🙏 |
It doesn't look like I have permissions: Or is there another way for me to get this through? |
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.