index template didn't use proper object nesting.
Also changed load_average from long to float.
This commit is contained in:
parent
1ef62320a3
commit
cabef3ba2e
|
@ -41,66 +41,130 @@
|
||||||
},
|
},
|
||||||
"node_stats": {
|
"node_stats": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"indices.percolate.size_in_bytes": {
|
"indices": {
|
||||||
|
"properties": {
|
||||||
|
"percolate": {
|
||||||
|
"properties": {
|
||||||
|
"size_in_bytes": {
|
||||||
|
"type": "long"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"jvm": {
|
||||||
|
"properties": {
|
||||||
|
"buffer_pools": {
|
||||||
|
"properties": {
|
||||||
|
"direct": {
|
||||||
|
"properties": {
|
||||||
|
"used_in_bytes": {
|
||||||
|
"type": "long"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mapped": {
|
||||||
|
"properties": {
|
||||||
|
"used_in_bytes": {
|
||||||
|
"type": "long"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gc": {
|
||||||
|
"properties": {
|
||||||
|
"collectors": {
|
||||||
|
"properties": {
|
||||||
|
"young": {
|
||||||
|
"properties": {
|
||||||
|
"collection_count": {
|
||||||
"type": "long"
|
"type": "long"
|
||||||
},
|
},
|
||||||
"jvm.buffer_pools.direct.used_in_bytes": {
|
"collection_time_in_millis": {
|
||||||
|
"type": "long"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"old": {
|
||||||
|
"properties": {
|
||||||
|
"collection_count": {
|
||||||
"type": "long"
|
"type": "long"
|
||||||
},
|
},
|
||||||
"jvm.buffer_pools.mapped.used_in_bytes": {
|
"collection_time_in_millis": {
|
||||||
|
"type": "long"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"indices": {
|
||||||
|
"properties": {
|
||||||
|
"percolate": {
|
||||||
|
"properties": {
|
||||||
|
"total": {
|
||||||
"type": "long"
|
"type": "long"
|
||||||
},
|
},
|
||||||
"jvm.gc.collectors.young.collection_count": {
|
"time_in_millis": {
|
||||||
"type": "long"
|
"type": "long"
|
||||||
},
|
},
|
||||||
"jvm.gc.collectors.young.collection_time_in_millis": {
|
"queries": {
|
||||||
"type": "long"
|
"type": "long"
|
||||||
},
|
},
|
||||||
"jvm.gc.collectors.old.collection_count": {
|
"memory_size_in_bytes": {
|
||||||
"type": "long"
|
"type": "long"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"jvm.gc.collectors.old.collection_time_in_millis": {
|
"os": {
|
||||||
"type": "long"
|
"properties": {
|
||||||
|
"load_average": {
|
||||||
|
"properties": {
|
||||||
|
"1m": {
|
||||||
|
"type": "float"
|
||||||
},
|
},
|
||||||
"indices.percolate.total": {
|
"5m": {
|
||||||
"type": "long"
|
"type": "float"
|
||||||
},
|
},
|
||||||
"indices.percolate.time_in_millis": {
|
"15m": {
|
||||||
"type": "long"
|
"type": "float"
|
||||||
},
|
}
|
||||||
"indices.percolate.queries": {
|
}
|
||||||
"type": "long"
|
}
|
||||||
},
|
}
|
||||||
"indices.percolate.memory_size_in_bytes": {
|
|
||||||
"type": "long"
|
|
||||||
},
|
|
||||||
"os.load_average.1m": {
|
|
||||||
"type": "long"
|
|
||||||
},
|
|
||||||
"os.load_average.5m": {
|
|
||||||
"type": "long"
|
|
||||||
},
|
|
||||||
"os.load_average.15m": {
|
|
||||||
"type": "long"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"index_stats": {
|
"index_stats": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"total.percolate.memory_size_in_bytes": {
|
"total": {
|
||||||
"type": "long"
|
"properties": {
|
||||||
},
|
|
||||||
"total.percolate.time_in_millis": {
|
|
||||||
"type": "long"
|
|
||||||
},
|
|
||||||
"total.percolate.queries": {
|
|
||||||
"type": "long"
|
|
||||||
},
|
|
||||||
"total.percolate.total": {
|
|
||||||
"type": "long"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
"percolate": {
|
||||||
|
"properties": {
|
||||||
|
"total": {
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
"time_in_millis": {
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
"queries": {
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
"memory_size_in_bytes": {
|
||||||
|
"type": "long"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue