[metricbeat]kubernetes: ksm service labels#15190
[metricbeat]kubernetes: ksm service labels#15190odacremolbap merged 2 commits intoelastic:masterfrom
Conversation
| @@ -1,50 +1,47 @@ | |||
| { | |||
| "@timestamp": "2019-11-27T18:13:26.661Z", | |||
| "@timestamp": "2019-12-18T14:47:52.427Z", | |||
There was a problem hiding this comment.
Interesting this actually uses the current timestamp. In x-pack/aws, seems like there is a default timestamp: https://github.com/elastic/beats/blob/master/x-pack/metricbeat/module/aws/billing/_meta/data.json#L2
There was a problem hiding this comment.
I launch metricbeat with debug output and copy data.json from there.
Have been doing that for a while, probably there is some other way of obtaining that file.
There was a problem hiding this comment.
Hmm for most of the modules/metricsets, I see a TestData function that generates data.json like https://github.com/elastic/beats/blob/master/x-pack/metricbeat/module/aws/billing/billing_integration_test.go#L16
There was a problem hiding this comment.
oh, thanks for sharing!
* use labels transformation for state_service (cherry picked from commit d9b85b0)
Merging #15066 included:
label_this PR brings those changes to the already merged
state_servicemetricset.The metricset is new, non released yet, there is no need for CHANGELOG nor does it breaks compatibility.