Created
June 18, 2018 01:45
-
-
Save churrops/8f2b2b01818290ae8d8b01cd05b1704c to your computer and use it in GitHub Desktop.
/usr/share/filebeat/module/mysql/slowlog/config/slowlog.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
type: log | |
paths: | |
{{ range $i, $path := .paths }} | |
- {{$path}} | |
{{ end }} | |
exclude_files: ['.gz$'] | |
multiline: | |
# pattern: '^# User@Host: ' | |
pattern: '^# Time: ' | |
negate: true | |
match: after | |
# exclude_lines: '^# Time: ' | |
#exclude_lines: ['^[\/\w\.]+, Version: .* started with:.*'] # Exclude the header |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment