Coder Social home page Coder Social logo

garutilorenzo / ansible-collection-elk Goto Github PK

View Code? Open in Web Editor NEW
44.0 6.0 22.0 107 KB

The Elastic stack (ELK) powered by Ansible

Home Page: https://garutilorenzo.github.io/ansible-collection-elk/

License: GNU General Public License v3.0

Jinja 97.91% Shell 2.09%
ansible kibana logstash ansible-role ansible-collection elasticsearch beats filebeat metricbeat heartbeat

ansible-collection-elk's Issues

Amazing work

Not An issue as such but want to say great work on this, this has helped me out loads.

elasticsearch.yml.j2 config error

Following error appears when elasticsearch_https_enabled: no:

[2023-04-25T10:49:30,358][ERROR][o.e.b.Elasticsearch      ] [es-0] fatal exception while booting Elasticsearch
org.elasticsearch.ElasticsearchSecurityException: invalid configuration for xpack.security.http.ssl - [xpack.security.http.ssl.enabled] is not set, but the following settings have been configured in elasticsearch.yml : [xpack.security.http.ssl.keystore.secure_password]

Possible fix for elasticsearch.yml.j2:

...
{% if elasticsearch_https_enabled %}
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: {{ elasticsearch_certs_dir }}/http.p12
{% else %}
xpack.security.http.ssl.enabled: false
{% endif %}

Update the playbooks to v8.12.2

Buongiorno Lorenzo,

I am trying to use this wonderful project to install a new bare metal Elastic cluster.
I am a little crazy and I tried to install the version 8.12.2

At first I encountered some issues I could solve with some vars.yml tuning.
Now I see that some setups are getting misaligned with the Elastic recommendations.

Examples:

  • Kibana is not installable with SSL and https
  • the Kibana user is now deprecated in favor of kybana_system
  • Beats is not trivial to install and make it work on my setup
  • the passwords and users for the additional modules are not on specific names, but always use the same elasticsearch_username variable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.