
With the introduction of the "infrustructure" panel and "canvas" becoming stable, there's not a lot of reason to import the general beat dashboards. The default dashboard are almost always in a state of disrepare and take a long time to import on high traffic clusters. This channge removes the default dashboard from the beat setup role by default. If a deployer wishes to renable the default dashboards, or add any other beat flags, the variable `elastic_setup_flags` can be used to extend the setup. Change-Id: If44845f53e4d0cb1e91ec804060316fb852b4bfa Signed-off-by: Kevin Carter <kevin@cloudnull.com>
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
---
|
|
# Copyright 2018, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# Each setup flag is run one at a time.
|
|
elastic_setup_flags:
|
|
- "--template"
|
|
- "--pipelines"
|
|
- "--machine-learning"
|
|
# - "--dashboards"
|
|
|
|
# Setup options are cast as a string with, one option per line.
|
|
elastic_beat_setup_options: >-
|
|
-E 'output.logstash.enabled=false'
|
|
-E 'output.elasticsearch.hosts={{ coordination_nodes | to_json }}'
|
|
-E 'setup.template.enabled=true'
|
|
-E 'setup.template.overwrite=true'
|
|
|
|
# The node defined here will be used with the environment variable, "no_proxy".
|
|
elastic_beat_kibana_host: "{{ hostvars[groups['kibana'][0]]['ansible_host'] }}"
|