-
Hello, I have this mysql slow query log content bebow
I try to parse the log but couldn't have good result. Here is my vector config:
Here is the result in console:
Questions:
If you have a better way to parse mysql slow query log, please tell me. I tried to search but could get the info I need.... |
Beta Was this translation helpful? Give feedback.
Answered by
milkrage
Oct 22, 2024
Replies: 1 comment 3 replies
-
Improved version should be.
I got all the info I need. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The slow query log file can contain not only information about slow queries, but also other service information. Entries that are not related to slow queries will cause parsing errors. As a solution, you can use
drop_on_error
andif
withabort
.In the example I use the
continue_through
modeExample: