Ensure pipelines with dots in names can be referenced

This commit is contained in:
weslambert
2020-10-08 15:41:17 -04:00
committed by GitHub
parent f41987024f
commit 06706d29f2

View File

@@ -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