Cover by Dipankar Sarkar

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Setting up your custom logs for easy parsing

The point of logging is not only to find out errors in a setup, but also for various analytics that one can perform on the usage of the sites running on the server. There are various tools that are available that one can use to analyze your web logs. Some of the open source and freely available ones are AWstats, webalizer, and so on. We will have a look at how to set up for AWstats.

The following screenshot is a sample of the AWstats generated HTML report:

Setting up your custom logs for easy parsing

How to do it...

We will first have a look at how to install AWstats, and then configure it to create a continuous report around Nginx logs.

  1. Add the ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required