Sha256: 5762a23271629f2a2a716389ec3ca9eca29e38a6024f7f458bebf1ec34e53bc8

Contents?: true

Size: 745 Bytes

Versions: 3

Compression:

Stored size: 745 Bytes

Contents

heartbeat.monitors:
  - type: http
    id: elk
    name: elk
    ports: [5601, 9200]
    schedule: '@every 10s'
    urls: {%- for node,meta in mu_deployment['servers']['frontend'].items() %}
  {%- for k,v in meta.items() %}
    {%- if k in ["private_ip_address"] %} ["https://{{ v }}"]
    {%- endif %}
  {%- endfor %}
  {%- if not loop.last %},{%- endif %}
{%- endfor %}

processors:
  - add_cloud_metadata: ~
  - add_host_metadata: ~

output.logstash:
  hosts: ["localhost:5044"]

setup:kibana:
  host: {%- for node,meta in mu_deployment['servers']['frontend'].items() %}
  {%- for k,v in meta.items() %}
    {%- if k in ["public_dns_name"] %} ["{{ v }}/"]
    {%- endif %}
  {%- endfor %}
  {%- if not loop.last %},{%- endif %}
{%- endfor %}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cloud-mu-3.6.5 ansible/roles/mu-logstash/templates/heartbeat.yml.j2
cloud-mu-3.6.4 ansible/roles/mu-logstash/templates/heartbeat.yml.j2
cloud-mu-3.6.3 ansible/roles/mu-logstash/templates/heartbeat.yml.j2