Apache logs: from common to combined

You can convert your Apache logs from common to combined with a simple sed line:
sed 's|$| "-" "-"|' yourwebsite-acces.log > yourwebsite-acces.log_combined

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.