mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-14 13:12:49 +01:00
Update so-elasticsearch-pipelines-list
This commit is contained in:
@@ -17,7 +17,15 @@
|
|||||||
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
|
{%- set NODEIP = salt['pillar.get']('elasticsearch:mainip', '') -%}
|
||||||
. /usr/sbin/so-common
|
. /usr/sbin/so-common
|
||||||
if [ "$1" == "" ]; then
|
if [ "$1" == "" ]; then
|
||||||
|
{% if grains['role'] in ['so-node','so-heavynode'] %}
|
||||||
|
curl -s -k https://{{ NODEIP }}:9200/_ingest/pipeline/* | jq 'keys'
|
||||||
|
{% else %}
|
||||||
curl -s {{ NODEIP }}:9200/_ingest/pipeline/* | jq 'keys'
|
curl -s {{ NODEIP }}:9200/_ingest/pipeline/* | jq 'keys'
|
||||||
|
{% endif %}
|
||||||
else
|
else
|
||||||
|
{% if grains['role'] in ['so-node','so-heavynode'] %}
|
||||||
|
curl -s -k https://{{ NODEIP }}:9200/_ingest/pipeline/$1 | jq
|
||||||
|
{% else %}
|
||||||
curl -s {{ NODEIP }}:9200/_ingest/pipeline/$1 | jq
|
curl -s {{ NODEIP }}:9200/_ingest/pipeline/$1 | jq
|
||||||
|
{% endif %}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user