-
-
Save karthiks/e4d98c872a8e67fc0b26d03ff3839649 to your computer and use it in GitHub Desktop.
Ops Agent configuration to send the Apache2 webserver logs as well apart from the syslogs to Google Cloud Monitoring
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
logging: | |
receivers: | |
mywebserver: | |
type: files | |
include_paths: | |
- /var/log/apache*/access.log | |
- /var/log/apache*/error.log | |
- /var/www/logs/any-other-custom-logs-of-your-app-*.log | |
service: | |
pipelines: | |
default_pipeline: | |
receivers: | |
- mywebserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment