[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@244b08a574
This commit is contained in:
Tim Sullivan 2018-03-23 16:19:40 -07:00 committed by GitHub
parent 67c64a6dfd
commit 05a0d6273c
1 changed files with 37 additions and 30 deletions

View File

@ -41,20 +41,48 @@
"properties": {
"cpu": {
"properties": {
"total": {
"system": {
"properties": {
"norm": {
"ticks": {
"type": "long"
},
"time": {
"properties": {
"pct": {
"type": "double"
"ms": {
"type": "long"
}
}
},
"pct": {
"type": "double"
},
}
}
},
"total": {
"properties": {
"value": {
"type": "double"
"type": "long"
},
"ticks": {
"type": "long"
},
"time": {
"properties": {
"ms": {
"type": "long"
}
}
}
}
},
"user": {
"properties": {
"ticks": {
"type": "long"
},
"time": {
"properties": {
"ms": {
"type": "long"
}
}
}
}
}
@ -209,27 +237,6 @@
},
"system": {
"properties": {
"cpu": {
"properties": {
"cores": {
"type": "long"
},
"total": {
"properties": {
"norm": {
"properties": {
"pct": {
"type": "double"
}
}
},
"pct": {
"type": "double"
}
}
}
}
},
"load": {
"properties": {
"1": {