Created
June 16, 2020 20:23
-
-
Save saswata-dutta/63fab41872242cc4079b5febda5cc199 to your computer and use it in GitHub Desktop.
filter to parse parts of RDS postgres logs in cloudwatch
This file contains hidden or 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
parse @message /^(?<time>.{23})\:(?<ip>[^:]+):(?<user>[^:]+):\[(?<pid>\d+)\]:(?<level>[A-Z]+):\s(?<mssg>.*)/ | |
| filter pid = 20658 | |
| sort time asc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment