Skip to content

How do I analyze a log file

Apache Logs Viewer can be used to analyze web server log files and understand what is going on and who are your visitors.

Step 1:
Open the log file and specify the correct format.
The most common format is Combined which includes User Agent header and Referer information.

For better performance if you only wish to analyze a particular day or week please load only that section of the log. This ensures that the log in memory is smaller.

Step 2:
Start filtering for data.

First filter by the first criteria. Enter the criteria in the filter bars,

You can apply multiple filters one after the other on the same set of data

Example:
Let's say you want to exclude all 2xx and 3xx status error codes leaving 4xx and 5xx.

Set up a filter to exclude all 2xx codes and click on Apply Filter
Set up a filter to exclude all 3xx codes and click on Apply Filter

The resultant list will contain only 1xx, 4xx and 5xx status codes.

Step 3:
Generate any reports that you want on your data. Make sure for this point you have set the correct Report Source

Feedback and Knowledge Base