Forked from dhsathiya/RDS get slowest query cloudwatch
Created
March 11, 2020 15:07
-
-
Save berga/2c3797a1f8e979faf6daeefb7843d434 to your computer and use it in GitHub Desktop.
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
fields @timestamp, @message | |
| parse @message '*Query_time: * Lock_time: * Rows_sent: * Rows_examined: *\n*' as host, query_time, lock_time, rows_sent, rows_examined, query | |
| sort query_time desc | |
| limit 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment