Created
June 18, 2018 01:47
-
-
Save churrops/1a2c05359d77d45ddb83831ee5787f2f to your computer and use it in GitHub Desktop.
/etc/filebeat/modules.d/mysql.yml
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: mysql | |
# 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/mariadb/mariadb.log"] | |
# Slow logs | |
slowlog: | |
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/mariadb/slow_query.log"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment