Last active
December 11, 2020 21:28
-
-
Save rms1000watt/6bb67538b803e9ffb831cefbe7880e9e to your computer and use it in GitHub Desktop.
Split Postgres logs downloaded from RDS
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
#!/usr/bin/env bash | |
split -b 1000m postgresql.log.2020-12-11-03 postgresql.log.2020-12-11-03 | |
# https://github.com/darold/pgbadger | |
pgbadger postgresql.log.2020-12-11-03am |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment