Sha256: c351fca58f414029de2b5d63e7cb947ef85d64ee3f7e5c372ad6e419d10c4733

Contents?: true

Size: 568 Bytes

Versions: 3

Compression:

Stored size: 568 Bytes

Contents

output {
  elasticsearch {
    hosts => {%- for node,meta in mu_deployment['servers']['backend'].items() %}
  {%- for k,v in meta.items() %}
    {%- if k in ["private_ip_address"] %} "https://{{ v }}:9200"
    {%- endif %}
  {%- endfor %}
  {%- if not loop.last %},{%- endif %}
{%- endfor %}

    ssl => true
    ssl_certificate_verification => false
    user => "elastic"
    password => "{{ elasticpw }}"
    cacert => "/etc/logstash/elasticsearch-ca.pem"
    manage_template => false
    index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cloud-mu-3.6.5 ansible/roles/mu-logstash/templates/30-elasticsearch-output.conf.j2
cloud-mu-3.6.4 ansible/roles/mu-logstash/templates/30-elasticsearch-output.conf.j2
cloud-mu-3.6.3 ansible/roles/mu-logstash/templates/30-elasticsearch-output.conf.j2