Merge pull request #11193 from Security-Onion-Solutions/TOoSmOotH-patch-1

Fix Heavy Node for acks
This commit is contained in:
Mike Reeves
2023-08-28 14:42:10 -04:00
committed by GitHub

View File

@@ -16,7 +16,7 @@
{# add nodes from the logstash:nodes pillar to soc.server.modules.elastic.remoteHostUrls #} {# add nodes from the logstash:nodes pillar to soc.server.modules.elastic.remoteHostUrls #}
{% for node_type, minions in salt['pillar.get']('logstash:nodes', {}).items() %} {% for node_type, minions in salt['pillar.get']('logstash:nodes', {}).items() %}
{% for m in minions.keys() %} {% for m in minions.keys() %}
{% do SOCDEFAULTS.soc.config.server.modules.elastic.remoteHostUrls.append(m) %} {% do SOCDEFAULTS.soc.config.server.modules.elastic.remoteHostUrls.append('https://' ~ m ~ ':9200') %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}