blob: 5749c1543e916ea30e89151588fbe266e831c01b [file] [log] [blame]
{%- load_yaml as base_defaults %}
Debian:
pkgs:
- kibana
service: kibana
default_app_id: discover
default:
version: 5
{%- 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')) %}