[Monitoring/Beats] Add new CPU fields, remove old CPU fields (elastic/x-pack-elasticsearch#3991)
* [Monitoring/Beats] Add new CPU fields, remove old CPU fields
* use long instead of double for cpu counters
* time => time.ms
Original commit: elastic/x-pack-elasticsearch@7a284b415abe95a25451812961cb6fca265e2d2c
"properties": {
"cpu": {
"properties": {
+ "system": {
+ "properties": {
+ "ticks": {
+ "type": "long"
+ },
+ "time": {
+ "properties": {
+ "ms": {
+ "type": "long"
+ }
+ }
+ }
+ }
+ },
"total": {
"properties": {
- "norm": {
+ "value": {
+ "type": "long"
+ },
+ "ticks": {
+ "type": "long"
+ },
+ "time": {
"properties": {
- "pct": {
- "type": "double"
+ "ms": {
+ "type": "long"
+ }
+ }
}
}
},
- "pct": {
- "type": "double"
+ "user": {
+ "properties": {
+ "ticks": {
+ "type": "long"
},
- "value": {
- "type": "double"
+ "time": {
+ "properties": {
+ "ms": {
+ "type": "long"
+ }
+ }
}
}
}
},
"system": {
"properties": {
- "cpu": {
- "properties": {
- "cores": {
- "type": "long"
- },
- "total": {
- "properties": {
- "norm": {
- "properties": {
- "pct": {
- "type": "double"
- }
- }
- },
- "pct": {
- "type": "double"
- }
- }
- }
- }
- },
"load": {
"properties": {
"1": {
