mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
include eval and import in so-elasticsearch-cluster-settings
This commit is contained in:
@@ -34,7 +34,7 @@ if [ "$ELASTICSEARCH_CONNECTED" == "no" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
{%- if GLOBALS.role in [ 'so-manager', 'so-managersearch', 'so-standalone'] %}
|
||||
{%- if GLOBALS.role in GLOBALS.manager_roles %}
|
||||
echo "Applying cross cluster search config..."
|
||||
so-elasticsearch-query _cluster/settings -d "{\"persistent\": {\"cluster\": {\"remote\": {\"{{ GLOBALS.manager }}\": {\"seeds\": [\"127.0.0.1:9300\"]}}}}}" -XPUT
|
||||
{%- if node_data['heavynode'] is defined %}
|
||||
|
||||
Reference in New Issue
Block a user