23 lines
568 B
YAML
23 lines
568 B
YAML
|
|
# Module: apache
|
||
|
|
# Docs: https://www.elastic.co/guide/en/beats/filebeat/7.5/filebeat-module-apache.html
|
||
|
|
# Ansible managed
|
||
|
|
|
||
|
|
- module: apache
|
||
|
|
# Access logs
|
||
|
|
access:
|
||
|
|
enabled: true
|
||
|
|
|
||
|
|
# Set custom paths for the log files. If left empty,
|
||
|
|
# Filebeat will choose the paths depending on your OS.
|
||
|
|
var.paths:
|
||
|
|
- '/var/log/apache2/*access.log'
|
||
|
|
|
||
|
|
# Error logs
|
||
|
|
error:
|
||
|
|
enabled: true
|
||
|
|
|
||
|
|
# Set custom paths for the log files. If left empty,
|
||
|
|
# Filebeat will choose the paths depending on your OS.
|
||
|
|
var.paths:
|
||
|
|
- '/var/log/apache2/*error.log'
|