Logstash role: Updating README.md
This commit is contained in:
parent
cffbfcfb8e
commit
e2e3170203
@ -1,40 +1,45 @@
|
|||||||
# Ansible Role: Logstash
|
Ansible Role: Logstash
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
An Ansible Role that installs [Logstash](https://www.elastic.co/products/logstash)
|
||||||
|
|
||||||
An Ansible Role that installs Logstash on RedHat/CentOS.
|
Requirements
|
||||||
|
------------
|
||||||
|
|
||||||
## Requirements
|
This role will work on:
|
||||||
|
* Red Hat
|
||||||
|
* CentOS
|
||||||
|
* Fedora
|
||||||
|
* Debian
|
||||||
|
* Ubuntu
|
||||||
|
|
||||||
Requires at least Java 8 (Java 8+ preferred).
|
Role Variables
|
||||||
|
--------------
|
||||||
|
```
|
||||||
|
---
|
||||||
|
elasticsearch_network_host: "127.0.0.1"
|
||||||
|
elasticsearch_http_port: "9200"
|
||||||
|
elk_stack_version: 5.4.0
|
||||||
|
```
|
||||||
|
|
||||||
## Role Variables
|
Example Playbook
|
||||||
Available variables are listed below, along with default values (see `vars/main.yml`):
|
----------------
|
||||||
|
|
||||||
elasticsearch_network_host: localhost
|
```
|
||||||
|
- hosts: logstash
|
||||||
Network host to listen for incoming connections on. By default we only listen on the localhost interface. Change this to the IP address to listen on a specific interface, or `0.0.0.0` to listen on all interfaces.
|
|
||||||
|
|
||||||
elasticsearch_http_port: 9200
|
|
||||||
|
|
||||||
Whether to allow inline scripting against ElasticSearch. You should read the following link as there are possible security implications for enabling these options: [Enable Dynamic Scripting](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting.html#enable-dynamic-scripting). Available options include: `true`, `false`, and `sandbox`.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Example Playbook
|
|
||||||
|
|
||||||
- hosts: search
|
|
||||||
roles:
|
roles:
|
||||||
- geerlingguy.java
|
- { role: ansible-role-logstash, elasticsearch_network_host: '192.168.33.182' }
|
||||||
- geerlingguy.elasticsearch
|
```
|
||||||
|
|
||||||
## License
|
License and copyright
|
||||||
|
---------------------
|
||||||
|
|
||||||
MIT / BSD
|
WAZUH Copyright (C) 2017 Wazuh Inc. (License GPLv3)
|
||||||
|
|
||||||
## Author Information
|
### Based on previous work from geerlingguy
|
||||||
|
|
||||||
This role was created in 2014 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).
|
- https://github.com/geerlingguy/ansible-role-elasticsearch
|
||||||
|
|
||||||
## Modified
|
### Modified by Wazuh
|
||||||
|
|
||||||
The playbooks have been modified by Wazuh, Inc, including some specific requirements, templates and configuration for integrating Elastic Stack and Wazuh ecosystem.
|
The playbooks have been modified by Wazuh, including some specific requirements, templates and configuration to improve integration with Wazuh ecosystem.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user