Make new ECS changes Elastic-auth compatible

This commit is contained in:
Jason Ertel
2021-06-14 12:13:50 -04:00
parent fca1c6e957
commit 37f4caf536
3 changed files with 10 additions and 6 deletions

View File

@@ -3,8 +3,12 @@
{%- else %}
{%- set MANAGER = salt['grains.get']('master') %}
{%- endif %}
{%- set ES_USER = salt['pillar.get']('elasticsearch:auth:users:so_beats_user:user', '') %}
{%- set ES_PASS = salt['pillar.get']('elasticsearch:auth:users:so_beats_user:pass', '') %}
output.elasticsearch:
enabled: true
hosts: ["https://{{ MANAGER }}:9200"]
username: "{{ ES_USER }}"
password: "{{ ES_PASS }}"
ssl.certificate_authorities: ["/usr/share/filebeat/intraca.crt"]