Skip to content

Commit

Permalink
Remove incorrect ES field (#33263)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
matschaffer authored and chrisberkhout committed Jun 1, 2023
1 parent 642f10d commit e62ca53
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 @@ -94,6 +94,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- Add missing cluster metadata to k8s module metricsets {pull}32979[32979] {pull}33032[33032]
- 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 @@ -31878,13 +31878,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 e62ca53

Please sign in to comment.