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 = {
"cluster_state.version",
"cluster_state.master_node",
"cluster_state.state_uuid",
"cluster_state.status",
"cluster_state.nodes",
};

View File

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

View File

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