{"repo":"Graylog2/graylog-ansible-role","free":true,"listed":false,"github":"https://github.com/Graylog2/graylog-ansible-role","clone":"git clone https://github.com/Graylog2/graylog-ansible-role.git","description":"Ansible role which installs and configures Graylog","language":"Jinja","stars":222,"topics":["graylog","playbook","ansible","ansible-role","ansible-playbook","ansible-galaxy","log-analysis","log-management","logging"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Graylog Ansible Role Requirements - Ansible 11.2.0 - Python 3.12 - At least 4gb of memory on the target instance. - Linux - Currently tested against: - Ubuntu 18.04 - Ubuntu 20.04 - Ubuntu 22.04 - Ubuntu 24.04 - Centos 7 - Centos 8 - Centos 9 To install the role, run: ansible-galaxy install graylog2.graylog Dependencies Graylog has the following dependencies: - Java - OpenSearch - MongoDB See the official Graylog documentation for more details on these requirements. Be certain you are running a supported version of OpenSearch. Compatibility Matrix Graylog version 3.x 4.x 5.x 6.x 7.x :------------------ :---: :----------: :----------: :---------: :-------------: Elasticsearch 5-6 6.8 - 7.10 6.8 - 7.10 n/a n/a OpenSearch 1.x 1.x - 2.x 1.x - 2.x 1.x - 2.x Refer to the Compatibility Matrix You will need to these Ansible role dependencies: - Java To install it, run: ansible-galaxy install -r /requirements.yml Example Playbook Here is an example playbook that uses this role. This is a single-instance configuration. It installs Java, MongoDB, Elasticsearch, and Graylog onto the same server. Remember to generate a unique password secret and root password sha2 for your instance. To generate password secret : pwgen -s 96 1 To generate root password sha2 : echo -n \"Enter Password: \" && head -1 </dev/stdin tr -d '\\n' sha256sum cut -d\" \" -f1 Example Playbook - Cluster Here is an example that deploys a Graylog cluster, like the one mentioned on the architecture page of our documentation. I","default_branch":null,"files":null,"tree":[],"storefront":"/r/Graylog2","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Graylog2/graylog-ansible-role/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}