cloud-kibana/defaults/main.yml
2025-02-09 20:19:58 +01:00

81 lines
2.0 KiB
YAML

---
cloud_apps: /opt
cloud_storage: /opt/storage
cloud_stage: prod
cloud_update: false
elastic_version: 8.17.1
kibana_platform_suffix: linux-x86_64
kibana_data_location: "{{ cloud_storage }}/kibana-data"
kibana_logs_location: "{{ cloud_storage }}/kibana-logs"
kibana_source: "https://artifacts.elastic.co/downloads/kibana"
kibana_log_filesize: 256mb
kibana_log_rotationcount: 10
kibana_log_level: info
kibana_config_server:
port: 5601
host: "localhost"
#basePath: ""
#rewriteBasePath: false
#publicBaseUrl: ""
maxPayload: 1048576
server.name: "{{ cloud_name | default('elasticsearch') | split('-') | map('title') | join(' ') }} {{ cloud_stage | title }}"
#ssl:
# enable: false
# certificate: /path/to/your/server.crt
# key: /path/to/your/server.key
kibana_config_elasticsearch:
hosts:
- http://cloud-elastic-0.local:9200
username: "kibana_system"
password: "pass"
#serviceAccountToken: "my_token"
requestTimeout: 30000
pingTimeout: 1500
maxSockets: 1024
compression: false
requestHeadersWhitelist:
- authorization
customHeaders: {}
shardTimeout: 30000
ssl:
certificate: /path/to/your/client.crt
key: /path/to/your/client.key
certificateAuthorities:
- "/path/to/your/CA.pem"
verificationMode: full
kibana_config_logging:
root:
level: "{{ kibana_log_level }}"
appenders:
#default:
# type: file
# fileName: /var/logs/kibana.log
# layout:
# type: json
default:
type: rolling-file
fileName: "{{ kibana_logs_location }}/kibana.log"
policy:
type: size-limit
size: "{{ kibana_log_filesize }}"
strategy:
type: numeric
max: "{{ kibana_log_rotationcount }}"
layout:
type: json
loggers:
- name: elasticsearch.query
level: "{{ kibana_log_level }}"
- name: http.server.response
level: "{{ kibana_log_level }}"
- name: metrics.ops
level: "{{ kibana_log_level }}"
browser:
root:
lebel: "{{ kibana_log_level }}"