Skip to content

Instantly share code, notes, and snippets.

View markojak's full-sized avatar
💭
If you don't work on your dreams, someone will put you to work on theirs.

Marko Jak markojak

💭
If you don't work on your dreams, someone will put you to work on theirs.
View GitHub Profile
@jonlabelle
jonlabelle / nginx-combine-access-logs.sh
Last active June 5, 2022 22:33
Combine Nginx Access Log files into one file.
#!/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.