Marvel: Add state_uuid to cluster_state documents

Closes elastic/elasticsearch#750

Original commit: elastic/x-pack-elasticsearch@4005fe0090
This commit is contained in:
Tanguy Leroux 2015-10-07 11:40:47 +02:00
parent fc0548ba58
commit 192526ff00
3 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,7 @@ public class ClusterStateRenderer extends AbstractRenderer<ClusterStateMarvelDoc
public static final String[] FILTERS = { public static final String[] FILTERS = {
"cluster_state.version", "cluster_state.version",
"cluster_state.master_node", "cluster_state.master_node",
"cluster_state.state_uuid",
"cluster_state.status", "cluster_state.status",
"cluster_state.nodes", "cluster_state.nodes",
}; };

View File

@ -178,6 +178,10 @@
"type": "string", "type": "string",
"index": "not_analyzed" "index": "not_analyzed"
}, },
"state_uuid": {
"type": "string",
"index": "not_analyzed"
},
"status": { "status": {
"type": "string", "type": "string",
"index": "not_analyzed" "index": "not_analyzed"

View File

@ -4,6 +4,7 @@
"cluster_state": { "cluster_state": {
"status": "yellow", "status": "yellow",
"version": 14, "version": 14,
"state_uuid": "lj0hNoO9QaeNa1eR2ukktQ",
"master_node": "__node_id__", "master_node": "__node_id__",
"nodes": { "nodes": {
"__node_id__": { "__node_id__": {