-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mysql-Module Percona Support #6665
Comments
Any updates? |
Sad to say my grok is not fit enough... will have to dig deeper into this.. Or has anyone found a way to at least ignore the problematic lines? |
@vadimtk @puneet0191 @delgod Can you guys provide more information about what are the exact differences between the Percona slow logs and the MySQL slow logs. I may have some time to fix the grok filters that beats uses. It will be even better if you already have fixed this for some of your Percona users. Thanks in advance for the info! |
Percona 5.7.19
|
@dkanchev, please check the following docs, each doc has "Changes to the Log Format" section: |
i can now provide a well tested GROK pattern for some configurations and usage of percona slowlogs |
@HagK wow, thanks! I am finishing a PR to support mariadb (#9731) and I was thinking on trying with Percona later. Your patterns can be really valuable, specially as they also include the innodb metrics 🙂 Would you like to open a PR with your patterns and some example files for percona after #9731 gets merged? |
sure, i can collect some different log configuration examples for percona and create a pull request. btw, your mariadb pattern doesnt support https://mariadb.com/kb/en/library/explain-in-the-slow-query-log/ |
Thanks
Right, this is not supported yet, we can also add it later, as well as support for the innodb entries. Does your pattern support it?
Older mysql versions don't log the thread id, or do it as |
the pull request is commited but conflicts, because a have commited your modification too :( percona doesnt support the explain lines, so i must not think about a support |
Oh, thanks for the PR, I'll take a look.
I left these lines as optional, so the module works in any case. They are still not parsed, if they are included they are just ignored by filebeat. |
Fix elastic#6665 Co-authored-by: Hagen Montag <hak@spreadshirt.net>
Fix #6665 Co-authored-by: Hagen Montag <hak@spreadshirt.net>
Fix elastic#6665 (cherry picked from commit 84844b3) Co-authored-by: Hagen Montag <hak@spreadshirt.net>
Hi,
As requested: https://discuss.elastic.co/t/mysql-module-grok-parsing-error/125561
trying to get percona slow-logs into es with the mysql-module. But it seems there is some pattern mismatch?
Version: 6.2.3
Operating System: Ubuntu 16.04.3 LTS
Steps to Reproduce:
error:
message:
original log:
regards,
strowi
The text was updated successfully, but these errors were encountered: