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
#!/usr/bin/env bash | |
set -e | |
## | |
# Combine all Nginx Access Log files, into one log file. Starting with the | |
# oldest log file(s) at the bottom, with the newest log file(s) on top. | |
# | |
# Useful for exporting into log analyzers, or bulk importing into tools like | |
# Splunk. |