From 06706d29f2447a4c1c89d8d6cb51e0b4d44ef316 Mon Sep 17 00:00:00 2001 From: weslambert Date: Thu, 8 Oct 2020 15:41:17 -0400 Subject: [PATCH] Ensure pipelines with dots in names can be referenced --- salt/common/tools/sbin/so-elasticsearch-pipeline-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/so-elasticsearch-pipeline-stats b/salt/common/tools/sbin/so-elasticsearch-pipeline-stats index 141e14145..ecb1512c0 100755 --- a/salt/common/tools/sbin/so-elasticsearch-pipeline-stats +++ b/salt/common/tools/sbin/so-elasticsearch-pipeline-stats @@ -21,5 +21,5 @@ if [ "$1" == "" ]; then curl -s {{ NODEIP }}:9200/_nodes/stats | jq .nodes | jq ".[] | .ingest.pipelines" else - curl -s {{ NODEIP }}:9200/_nodes/stats | jq .nodes | jq ".[] | .ingest.pipelines.$1" + curl -s {{ NODEIP }}:9200/_nodes/stats | jq .nodes | jq ".[] | .ingest.pipelines.\"$1\"" fi