Merge pull request #1491 from Security-Onion-Solutions/fix/so-elasticsearch-pipeline-stats-dots

Ensure pipelines with dots in names can be referenced
This commit is contained in:
weslambert
2020-10-08 15:41:44 -04:00
committed by GitHub

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