mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
11 lines
348 B
YAML
11 lines
348 B
YAML
{%- if grains['role'] in ['so-managersearch', 'so-heavynode', 'so-node'] %}
|
|
{%- set MANAGER = salt['grains.get']('host' '') %}
|
|
{%- else %}
|
|
{%- set MANAGER = salt['grains.get']('master') %}
|
|
{%- endif %}
|
|
|
|
output.elasticsearch:
|
|
enabled: true
|
|
hosts: ["https://{{ MANAGER }}:9200"]
|
|
ssl.certificate_authorities: ["/usr/share/filebeat/intraca.crt"]
|