Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mediafellows/ansible-role-graylog
Ansible Role - Graylog role to install and setup Graylog 2 server
https://github.com/mediafellows/ansible-role-graylog
ansible-role graylog-server
Last synced: 1 day ago
JSON representation
Ansible Role - Graylog role to install and setup Graylog 2 server
- Host: GitHub
- URL: https://github.com/mediafellows/ansible-role-graylog
- Owner: mediafellows
- Created: 2020-04-03T10:21:30.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-06T15:30:41.000Z (over 1 year ago)
- Last Synced: 2023-11-06T23:58:51.473Z (over 1 year ago)
- Topics: ansible-role, graylog-server
- Language: Jinja
- Size: 72.3 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Ansible-Test](https://github.com/mediafellows/ansible-role-graylog/workflows/Ansible-Test/badge.svg)](https://github.com/mediafellows/ansible-role-graylog/actions?query=workflow%3AAnsible-Test)
# Graylog role
Ansible role to install and setup Graylog 2 server. Also installs dependencies such as ElasticSearch and MongoDB.
Uses [Mediafellows' ElasticSearch role](https://github.com/mediafellows/ansible-role-elasticsearch) to install ElasticSearch.
## Requirements
Server running Ubuntu Linux, or other debiand based distro.
## Role Variables
Those variables have to be set for thing to work:
- `graylog_password_salt: abc123123123` - Set your own PW salt for Graylog PWs/seccrets
- `graylog_root_username: graylog` - Set your own dmin username for Graylog login
- `graylog_root_password_sha2: asdccsd3123` - Set your own admin PW for Graylog login
- `graylog_public_api_endpoint: 'https://my-dummy-domin.com:9000/api/'` - Set this to the publicly reachable API endpoint
- `elasticsearch_heap_size: 2g` - Set this to half the amount of the instaces RAM size. If this value is to high Elasticsearch might fail to start (runing out of Memory)!Those variables can be overriden optionally (come with acceptable defaults):
- `elasticsearch_cluster_name: graylog` - Change to your prefered ES cluster name
- `graylog_root_user_email: [email protected]` - Set admin users email
- `graylog_major_version: 2.3` - Major graylog version to install
- `elasticsearch_version: 2.3.3` - ElasticSearch version to install (make sure it's compatible with the Graylog version).
- `graylog_custom_plugins: []` - List of Graylog plugins to install (in addition to default ones)
- `elasticsearch_plugins: []` - List of ElasticSearch plugins to install## Dependencies
Depends on the ElasticSearch Ansible role `mediafellows.elasticsearch`. Make sure that role installed in your Ansible project first.
## Example Playbook
Example Playbook with minimal set of required parameters:
- hosts: servers
vars:
graylog_password_salt: abc123123123
graylog_root_username: graylog
graylog_root_password_sha2: asdccsd3123
graylog_root_user_email: [email protected]
graylog_public_hostname: 'https://dummy-hostname.com'
roles:
- mediafellows.graylog## License
BSD
## Author Information
Stefan Horning