{"repo":"geerlingguy/ansible-role-logstash","free":true,"listed":false,"github":"https://github.com/geerlingguy/ansible-role-logstash","clone":"git clone https://github.com/geerlingguy/ansible-role-logstash.git","description":"Ansible Role - Logstash","language":"Jinja","stars":180,"topics":["ansible","role","logstash","elk","logging","java"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Ansible Role: Logstash An Ansible Role that installs Logstash on RedHat/CentOS Debian/Ubuntu. Note that this role installs a syslog grok pattern by default; if you want to add more filters, please add them inside the /etc/logstash/conf.d/ directory. As an example, you could create a file named 13-myapp.conf with the appropriate grok filter and restart logstash to start using it. Test your grok regex using the Grok Debugger. Requirements Though other methods are possible, this role is made to work with Elasticsearch as a backend for storing log messages. Role Variables Available variables are listed below, along with default values (see defaults/main.yml ): logstash version: '7.x' The major version of Logstash to install. logstash package: logstash The specific package to be installed. You can specify a version of the package using the correct syntax for your platform and package manager by changing the package name. logstash listen port beats: 5044 The port over which Logstash will listen for beats. logstash elasticsearch hosts: - http://localhost:9200 The hosts where Logstash should ship logs to Elasticsearch. logstash dir: /usr/share/logstash The directory inside which Logstash is installed. logstash ssl dir: /etc/pki/logstash logstash ssl certificate file: logstash-forwarder-example.crt logstash ssl key file: logstash-forwarder-example.key Local paths to the SSL certificate and key files, which will be copied into the logstash ssl dir . See Generating a self-signed certifi","default_branch":null,"files":null,"tree":[],"storefront":"/r/geerlingguy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/geerlingguy/ansible-role-logstash/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."}