[Monitoring] Use ctx.metadata.xpack not just ctx.metadata (elastic/x-pack-elasticsearch#1974)
This tweaks a recent fix so that it uses the right metadata variable. Original commit: elastic/x-pack-elasticsearch@af9d9b0e41
This commit is contained in:
parent
5ed683538d
commit
44eda0962e
|
@ -43,7 +43,7 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
{
|
{
|
||||||
"term": {
|
"term": {
|
||||||
"cluster_uuid": "{{ctx.metadata.cluster_uuid}}"
|
"cluster_uuid": "{{ctx.metadata.xpack.cluster_uuid}}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
{
|
{
|
||||||
"term": {
|
"term": {
|
||||||
"_id": "{{ctx.metadata.cluster_uuid}}"
|
"_id": "{{ctx.metadata.xpack.cluster_uuid}}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
{
|
{
|
||||||
"term": {
|
"term": {
|
||||||
"cluster_uuid": "{{ctx.metadata.cluster_uuid}}"
|
"cluster_uuid": "{{ctx.metadata.xpack.cluster_uuid}}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"filter": [
|
"filter": [
|
||||||
{
|
{
|
||||||
"term": {
|
"term": {
|
||||||
"cluster_uuid": "{{ctx.metadata.cluster_uuid}}"
|
"cluster_uuid": "{{ctx.metadata.xpack.cluster_uuid}}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue