Last active
December 28, 2023 02:17
-
-
Save bvader/421ed0e907897f0bb9a57afaec00b3dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Module: nginx | |
# Docs: https://www.elastic.co/guide/en/beats/filebeat/main/filebeat-module-nginx.html | |
- module: nginx | |
# Access logs | |
access: | |
enabled: true | |
# Set the custom pipeline | |
input.pipeline: filebeat-8.11.3-nginx-access-pipeline-custom | |
# Set custom paths for the log files. If left empty, | |
# Filebeat will choose the paths depending on your OS. | |
var.paths: ["/Users/sbrown/workspace/sample-data/discuss/discuss-custom-nginx.log"] | |
# Error logs | |
error: | |
enabled: false | |
# Set custom paths for the log files. If left empty, | |
# Filebeat will choose the paths depending on your OS. | |
#var.paths: | |
# Ingress-nginx controller logs. This is disabled by default. It could be used in Kubernetes environments to parse ingress-nginx logs | |
ingress_controller: | |
enabled: false | |
# 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