rolehippie.graylog_sidecar
graylog-sidecar
This is an Ansible role used to install and set up the Graylog sidecar.
Sponsorship
This Ansible role has been supported by my current and previous employers, including Cloudpunks GmbH and Proact Deutschland GmbH.
Contents
- Requirements
- Default Variables
- graylog_sidecar_api_token
- graylog_sidecar_cache_path
- graylog_sidecar_config_directory
- graylog_sidecar_list_log_files
- graylog_sidecar_log_path
- graylog_sidecar_log_rotate_keep_files
- graylog_sidecar_log_rotate_max_file_size
- graylog_sidecar_node_id
- graylog_sidecar_node_name
- graylog_sidecar_package
- graylog_sidecar_send_status
- graylog_sidecar_server_url
- graylog_sidecar_tls_skip_verify
- graylog_sidecar_update_interval
- graylog_sidecar_whitelist
- Discovered Tags
- Dependencies
- License
- Author
Requirements
- At least Ansible version:
2.10
Default Variables
graylog_sidecar_api_token
Token used for Graylog authentication.
Default value
graylog_sidecar_api_token:
graylog_sidecar_cache_path
Location for cache files.
Default value
graylog_sidecar_cache_path: /var/cache/graylog-sidecar
graylog_sidecar_config_directory
Folder for configuration files.
Default value
graylog_sidecar_config_directory: /var/lib/graylog-sidecar/generated
graylog_sidecar_list_log_files
Files to log.
Default value
graylog_sidecar_list_log_files: []
graylog_sidecar_log_path
Location for log files.
Default value
graylog_sidecar_log_path: /var/log/graylog-sidecar
graylog_sidecar_log_rotate_keep_files
Max number of log files to keep during rotation.
Default value
graylog_sidecar_log_rotate_keep_files: 10
graylog_sidecar_log_rotate_max_file_size
Max size for log files before rotation.
Default value
graylog_sidecar_log_rotate_max_file_size: 10MiB
graylog_sidecar_node_id
ID for the node.
Default value
graylog_sidecar_node_id: file:/etc/machine-id
graylog_sidecar_node_name
Name of the node sent to Graylog.
Default value
graylog_sidecar_node_name: '{{ inventory_hostname }}'
graylog_sidecar_package
URL to download the sidecar package.
Default value
graylog_sidecar_package:
https://github.com/Graylog2/collector-sidecar/releases/download/1.0.0/graylog-sidecar_1.0.0-1_amd64.deb
graylog_sidecar_send_status
Whether to send status updates.
Default value
graylog_sidecar_send_status: true
graylog_sidecar_server_url
URL for the Graylog server.
Default value
graylog_sidecar_server_url: http://127.0.0.1:9000
graylog_sidecar_tls_skip_verify
Whether to skip TLS verification.
Default value
graylog_sidecar_tls_skip_verify: false
graylog_sidecar_update_interval
Interval for updates.
Default value
graylog_sidecar_update_interval: 10
graylog_sidecar_whitelist
List of allowed binaries.
Default value
graylog_sidecar_whitelist:
- /usr/bin/filebeat
- /usr/bin/packetbeat
- /usr/bin/metricbeat
- /usr/bin/heartbeat
- /usr/bin/auditbeat
- /usr/bin/journalbeat
- /usr/share/filebeat/bin/filebeat
- /usr/share/packetbeat/bin/packetbeat
- /usr/share/metricbeat/bin/metricbeat
- /usr/share/heartbeat/bin/heartbeat
- /usr/share/auditbeat/bin/auditbeat
- /usr/share/journalbeat/bin/journalbeat
Discovered Tags
graylog-sidecar
Dependencies
- None
License
Apache-2.0
Author
Informazioni sul progetto
Ansible role to install and configure the Graylog sidecar
Installa
ansible-galaxy install rolehippie.graylog_sidecar
Licenza
apache-2.0
Download
136
Proprietario
Ansible role collection of Webhippie