Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samdoran/ansible-role-logstash
https://github.com/samdoran/ansible-role-logstash
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/samdoran/ansible-role-logstash
- Owner: samdoran
- Created: 2016-04-07T21:54:01.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-07-27T20:12:22.000Z (over 3 years ago)
- Last Synced: 2024-11-01T09:14:33.202Z (about 2 months ago)
- Language: Jinja
- Size: 87 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Logstash
========Setup logstash shipping and parsing nodes. Two groups, `ls_parser` and `ls_shipper` should contain the appropriate hosts. The `ls_shipper` host takes files as input, does minimal processing, then outputs to `redis`. The `ls_parser` hosts take input from redis, process, then output to an elasticsearch cluster.
Requirements
------------* Java
* `redis` target
* `elasticsearch` hostsRole Variables
--------------| Name | Default | Descrription |
|---------------------------|--------|---------------|
| `logstash_open_files` | 65535 | Set ulimit to this number for logstash process |
| `logstash_version` | `2.4` | Version of Logstash to install. Used to setup up the repository. |
| `redis_group_name` | 'redis' | Name of inventory group that contains redis host(s) |
| `logstash_ssl_crt_path` | /etc/pki/tls/certs | Path where SSL cert will be copied |
| `logstash_ssl_key_path` | /etc/pki/tls/private | Path where SSL private key will be copied |
| `logsasth_ssl_crt` | null | Public SSL cert |
| `logstash_ssl_key` | null | Private SSL key. I recommend storing this in an Ansible vault |
| `logstash_plugins` | undefined | List of plugins to install |Dependencies
------------* redis
* elasticsearchExample Playbook
-------------------------- hosts: ls_parser:ls_shipper
roles:
- logstashLicense
-------Apache 2.0