Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/role-kibana.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Role Variables
* *kibana_tls*: Whether to offer `https` for clients or not (default: `false`)
* *kibana_tls_cert*: Path to the certificate Kibana should show to its clients (default: `/etc/kibana/certs/cert.pem`)
* *kibana_tls_key*: Path to the key Kibana should use when communicating with clients (default: `/etc/kibana/certs/key.pem`)
* *kibana_extra_config*: You can add arbitraty configuration options with this option. Just start it with `|-` and indent the following lines. So you can add as many lines and options to `kibana.yml` as you like. (default: none)

* *kibana_security*: Activate TLS and authentication when connecting to Elasticsearch. **Note**: Only works when `elasticstack_full_stack` is enabled. (default: `true`)

Expand Down
2 changes: 2 additions & 0 deletions molecule/elasticstack_default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
- system
beats_fields:
- "testbed: molecule"
kibana_extra_config: |-
ops.interval: 5000
tasks:
- name: Enable Elastic installation on RHEL 9
ansible.builtin.set_fact:
Expand Down
4 changes: 4 additions & 0 deletions roles/kibana/templates/kibana.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ server.ssl.enabled: true
server.ssl.certificate: "{{ kibana_tls_cert }}"
server.ssl.key: "{{ kibana_tls_key }}"
{% endif %}

{% if kibana_extra_config is defined %}
{{ kibana_extra_config }}
{% endif %}