blob: b19e6be2eb5fb224647190938e4eca1be87e6b28 [file] [log] [blame]
{%- load_yaml as base_defaults %}
Debian:
pkgs:
- kibana
service: kibana
default_app_id: discover
default:
version: 5
cross_cluster_search: true
{%- endload %}
{% set server = salt['grains.filter_by'](base_defaults, merge=salt['pillar.get']('kibana:server'), base='default') %}
{% set monitoring = salt['grains.filter_by']({
'default': {
'service_failed_warning_threshold_percent': 0.3,
'service_failed_critical_threshold_percent': 0.6,
},
}, grain='os_family', merge=salt['pillar.get']('kibana:monitoring')) %}
{%- load_yaml as client_defaults %}
default:
server:
host: 127.0.0.1
port: 9200
index: '.kibana'
{%- endload %}
{%- set client = salt['grains.filter_by'](client_defaults, merge=salt['pillar.get']('kibana:client')) %}