mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-10 00:05:27 +02:00
Update so-elasticsearch-templates-list
This commit is contained in:
1 parent
a17a2ad3de
commit
4c43262610
1 file changed
+5
-1
@@ -18,10 +18,14 @@
|
||||
. /usr/sbin/so-common
|
||||
if [ "$1" == "" ]; then
|
||||
{% 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 %}
|
||||
curl -s {{ NODEIP }}:9200/_template/* | jq 'keys'
|
||||
{% endif %}
|
||||
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
|
||||
{% endif %}
|
||||
fi
|
||||
Reference in new issue
Block a user