Skip to content

Instantly share code, notes, and snippets.

@Piumal1999
Created September 16, 2021 19:41
Show Gist options
  • Select an option

  • Save Piumal1999/9652586e1cb545df64794fa0a0bf5503 to your computer and use it in GitHub Desktop.

Select an option

Save Piumal1999/9652586e1cb545df64794fa0a0bf5503 to your computer and use it in GitHub Desktop.
Apache web server: /etc/filebeat/modules.d/apache.yml
# Module: apache
# Docs: https://www.elastic.co/guide/en/beats/filebeat/7.x/filebeat-module-apache.html
- 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:
# 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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment