Merge "Added IPTables module support to Filebeat config"
This commit is contained in:
commit
0d3c20580f
@ -300,3 +300,9 @@ processors: {}
|
||||
# Logging level
|
||||
# Available log levels are error, warning, info, debug
|
||||
filebeat_log_level: "{{ elastic_beat_log_level | default('info') }}"
|
||||
|
||||
# Enable IPtables logging module
|
||||
filebeat_iptables_enabled: false
|
||||
# The following allows one to specify log files in non-standard locations,
|
||||
# defaulting to log collection in syslog
|
||||
filebeat_iptables_log_paths: ["var/log/syslog"]
|
||||
|
@ -209,6 +209,16 @@ filebeat.modules:
|
||||
# can be added under this section.
|
||||
#input:
|
||||
|
||||
#------------------------------ IP Tables Module ------------------------------
|
||||
{% if (filebeat_iptables_enabled | bool) %}
|
||||
- module: iptables
|
||||
# Syslog
|
||||
log:
|
||||
enabled: "true"
|
||||
var.input: "file"
|
||||
var.paths: {{ filebeat_iptables_log_paths | to_json }}
|
||||
{% endif %}
|
||||
|
||||
#-------------------------------- Kafka Module --------------------------------
|
||||
#- module: kafka
|
||||
# All logs
|
||||
|
Loading…
Reference in New Issue
Block a user