Marvel: Add state_uuid to cluster_state documents
Closes elastic/elasticsearch#750 Original commit: elastic/x-pack-elasticsearch@4005fe0090
This commit is contained in:
parent
fc0548ba58
commit
192526ff00
|
@ -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",
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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__": {
|
||||||
|
|
Loading…
Reference in New Issue