-
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
add mariadb module for filebeat #7422
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
@rdglinux thanks for this! You will need to run |
Could you also add a small test log file to verify the changes (see other filesets). PR will also need a changelog entry. |
@karmi thanks for your reply...i updated my other e-mail in my github. |
@rdglinux , great!, the CLA check is green now. |
update field name from mariadb.slowlog.query_time.sec to mariadb.slowlog.query_time.sec
@rdglinux Something seems to be still off with the generated files. Could you rebase on master and run again |
Cool new feature! Will it get merged? |
Fix works on my machine! |
@rdglinux are you planning to continue with this PR? if you cannot do it we could try to finish and merge it. It'd be great in any case if you could add some example log file for testing. Thanks! |
Hi @jsoriano! Sorry for my late reply, i was involved in other projects. I used this module for my database MariaDB and works good. So i belive we could merge it. Fallow my log!. |
Hi @rdglinux My MariaDB slow log format is slightly different.
Version Details: |
Hi @rdglinux, For the above format I had written a new grok pattern
|
@rdglinux sorry also for my late reply 🙁 This is looking good to me, could you try to add some example test files? It'd be good if this works also with @NoSkillGuy's example. |
MariaDB support added at the end in the mysql module itself (#9731), thanks for the work and example cases here! |
Added filebeat module to mariadb logs.
Module created based on discuss: https://discuss.elastic.co/t/filebeat-mysql-module-slowlog-error-message-provided-grok-expressions-do-not-match-field-value/135945/3
Logging pattern to be parsed:
To do:
Adjust and create dashboard file do Kibana