Skip to content

Restless-ET/ansible-role-filebeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restless-ET.filebeat

An Ansible role for Logstash's Filebeat log shipper.

Requirements

Nothing worth mentioning ...

Role Variables

  • filebeat_version - The filebeat version to install. Defaults to: 1.0.1
  • filebeat_prospectors - List of prospectors to fetch data.
  • filebeat_logstash_enabled - If Logstash output if enabled or not. Defaults to: true
  • filebeat_logstash_index - The index root name to write evetns to. Defaults to: filebeat
  • filebeat_logstash_hosts - The list of downstream Logstash servers. Defaults to: ["localhost:5044"]
  • filebeat_logstash_tls_insecure - If the client skips verification of server certificates and host names. Defaults to: false
  • filebeat_logstash_tls_certificate - The path to your SSL client certificate.
  • filebeat_logstash_tls_certificate_key - The path to your SSL client certificate key.
  • filebeat_logstash_tls_certificate_authorities - The list of paths to root certificates for server verifications.
  • filebeat_logstash_tls_timeout - Network timeout in seconds. Defaults to: 15

Dependencies

No dependecies. :-)

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: Restless-ET.filebeat,
         filebeat_prospectors:
           - {
             document_type: syslog,
             paths: ['/var/log/syslog']
           }
       }

License

MIT

Author Information

Artur Melo