You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An Ansible role for Elastic's Filebeat log shipper.
4
+
An Ansible role for Logstash's Filebeat log shipper.
5
5
6
6
Requirements
7
7
------------
8
8
9
-
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
9
+
Nothing worth mentioning ...
10
10
11
11
Role Variables
12
12
--------------
13
13
14
-
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
14
+
-`filebeat_version` - The filebeat version to install. Defaults to: `1.0.1`
15
+
-`filebeat_prospectors` - List of prospectors to fetch data.
16
+
-`filebeat_logstash_enabled` - If Logstash output if enabled or not. Defaults to: `true`
17
+
-`filebeat_logstash_index` - The index root name to write evetns to. Defaults to: `filebeat`
18
+
-`filebeat_logstash_hosts` - The list of downstream Logstash servers. Defaults to: `["localhost:5044"]`
19
+
-`filebeat_logstash_tls_insecure` - If the client skips verification of server certificates and host names. Defaults to: `false`
20
+
-`filebeat_logstash_tls_certificate` - The path to your SSL client certificate.
21
+
-`filebeat_logstash_tls_certificate_key` - The path to your SSL client certificate key.
22
+
-`filebeat_logstash_tls_certificate_authorities` - The list of paths to root certificates for server verifications.
23
+
-`filebeat_logstash_tls_timeout` - Network timeout in seconds. Defaults to: `15`
24
+
15
25
16
26
Dependencies
17
27
------------
18
28
19
-
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
29
+
No dependecies. :-)
20
30
21
31
Example Playbook
22
32
----------------
@@ -25,14 +35,20 @@ Including an example of how to use your role (for instance, with variables passe
25
35
26
36
- hosts: servers
27
37
roles:
28
-
- { role: username.rolename, x: 42 }
38
+
- { role: Restless-ET.filebeat,
39
+
filebeat_prospectors:
40
+
- {
41
+
document_type: syslog,
42
+
paths: ['/var/log/syslog']
43
+
}
44
+
}
29
45
30
46
License
31
47
-------
32
48
33
-
BSD
49
+
MIT
34
50
35
51
Author Information
36
52
------------------
37
53
38
-
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
0 commit comments