Skip to content

Commit

Permalink
[Metricbeat] Move mongodb.status metricset to ECS (#10368)
Browse files Browse the repository at this point in the history
Only field changed for now is service.version.

The metricset was also changed to use the reporter interface.
  • Loading branch information
ruflin authored Jan 29, 2019
1 parent 94ce609 commit e9fe7ed
Show file tree
Hide file tree
Showing 9 changed files with 270 additions and 236 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Adjust Redis.info metricset fields to ECS. {pull}10319[10319]
- Change type of field docker.container.ip_addresses to `ip` instead of `keyword. {pull}10364[10364]
- Rename http.request.body field to http.request.body.content. {pull}10315[10315]
- Adjust mongodb.status metricset to to ECS. {pull}10368[10368]

*Packetbeat*

Expand Down
12 changes: 12 additions & 0 deletions dev-tools/ecs-migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,18 @@

## Modules

### Mongodb

- from: mongodb.status.version
to: service.version
alias: true
beat: metricbeat

- from: mongodb.status.process
to: process.name
alias: true
beat: metricbeat

### Redis

- from: redis.info.server.version
Expand Down
8 changes: 6 additions & 2 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -15421,7 +15421,9 @@ MongoDB server status metrics.
*`mongodb.status.version`*::
+
--
type: keyword
type: alias
alias to: service.version
Instance version.
Expand All @@ -15431,7 +15433,9 @@ Instance version.
*`mongodb.status.process`*::
+
--
type: keyword
type: alias
alias to: process.name
The current MongoDB process. Possible values are mongos or mongod.
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/mongodb/fields.go

Large diffs are not rendered by default.

Loading

0 comments on commit e9fe7ed

Please sign in to comment.