mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
Update so-elasticsearch-templates-list
This commit is contained in:
@@ -18,10 +18,14 @@
|
|||||||
. /usr/sbin/so-common
|
. /usr/sbin/so-common
|
||||||
if [ "$1" == "" ]; then
|
if [ "$1" == "" ]; then
|
||||||
{% if grains['role'] in ['so-node','so-heavynode'] %}
|
{% if grains['role'] in ['so-node','so-heavynode'] %}
|
||||||
curl -s -k kttps://{{ NODEIP }}:9200/_template/* | jq 'keys'
|
curl -s -k https://{{ NODEIP }}:9200/_template/* | jq 'keys'
|
||||||
{% else %}
|
{% else %}
|
||||||
curl -s {{ NODEIP }}:9200/_template/* | jq 'keys'
|
curl -s {{ NODEIP }}:9200/_template/* | jq 'keys'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
else
|
else
|
||||||
|
{% if grains['role'] in ['so-node','so-heavynode'] %}
|
||||||
|
curl -s -k https://{{ NODEIP }}:9200/_template/$1 | jq
|
||||||
|
{% else %}
|
||||||
curl -s {{ NODEIP }}:9200/_template/$1 | jq
|
curl -s {{ NODEIP }}:9200/_template/$1 | jq
|
||||||
|
{% endif %}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user