Skip to content

Commit

Permalink
[8.5](backport #33263) Remove incorrect ES field (#33298)
Browse files Browse the repository at this point in the history
* Remove incorrect ES field (#33263)

* Remove incorrect ES field

Removes elasticsearch.node_stats.indices.bulk.avg_time.bytes

The field doesn't exist in https://github.com/klacabane/elasticsearch/blob/fede65858555e4106027b7498f6dfda85df87c8e/x-pack/plugin/core/src/main/resources/monitoring-es-mb.json and also doesn't make sense that we'd have bytes under a time grouping.

* Changelog entry

* More whitespace fiddling

(cherry picked from commit 1032646)

# Conflicts:
#	metricbeat/module/elasticsearch/fields.go

* metricbeat: make update

Co-authored-by: Mat Schaffer <[email protected]>
  • Loading branch information
mergify[bot] and matschaffer authored Oct 12, 2022
1 parent 3341b78 commit f280dd7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- Change max query size for GetMetricData API to 500 and add RecentlyActive for ListMetrics API call {pull}33105[33105]
- Add GCP CloudSQL region filter {pull}32943[32943]
- Fix logstash cgroup mappings {pull}33131[33131]
- Remove unused `elasticsearch.node_stats.indices.bulk.avg_time.bytes` mapping {pull}33263[33263]

*Packetbeat*

Expand Down
7 changes: 0 additions & 7 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -31885,13 +31885,6 @@ type: long



*`elasticsearch.node.stats.indices.bulk.avg_time.bytes`*::
+
--
type: long

--

*`elasticsearch.node.stats.indices.bulk.avg_time.ms`*::
+
--
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/elasticsearch/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions metricbeat/module/elasticsearch/node_stats/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
- name: avg_time
type: group
fields:
- name: bytes
type: long
- name: ms
type: long
- name: total_time
Expand Down

0 comments on commit f280dd7

Please sign in to comment.