Created
September 16, 2021 19:43
-
-
Save Piumal1999/4eb8a6d5941ff2f746ea0e07157fb6cc to your computer and use it in GitHub Desktop.
NginX web server: /etc/filebeat/modules.d/nginx.yml
This file contains hidden or 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/7.x/filebeat-module-nginx.html | |
| - module: nginx | |
| # 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: | |
| # 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