Analyzing your website performance using Access Logs. Access Logs Performance Analysis is used for analyzing all access logs for web site’ performance – slow page load time, most frequent web pages and their errors, large web pages issues and more.
Analyzing Website Performance
One of the most important parameters determining if a visitor to your website will choose to stay in a webpage or leave is the page loading time AKA web page performance.
Below are several known statistics about website performance and visitors satisfaction –
Almost 50% of the visitors to a web page
- Expect the web page to load in less than 2 seconds
- Say that they have encountered a page that crashed, stopped responding or got an error
- Say that they’ve visited a web page that didn’t function as expected
- Every 1 second delay in website page load time can result in a 7% decrease in conversions and decreases customers’ satisfaction by 16%.
- Every 3 seconds increase in a website page load time increases the abandonment rate in 40%
It is also known that for Google, an increase in SERP (search engine results page) load time from 400 milliseconds to 900 milliseconds decreases traffic and revenues by 20%.
Access Logs Performance Analysis
Using Access Logs Viewer & Analyzer or merely Access Logs Viewer will present useful Access Log Analytics. This article will describe how you can analyze your website performance from Access Logs with XpoLog Access Logs Performance Analyzer.
XpoLog Access Logs Performance Analysis
XpoLog Access Logs Performance Analyzer can check the performance of all the pages on your site and zero-in on the reason it may be loading slowly and present all errors whereas if the page is simply very heavy (containing several GIGAs worth of information). In both cases, whether errors or extra weight are slowing you down, XpoLog Access Logs Performance Analyzer will inform you immediately so you can start taking actions to improve your website’s performance.
In the XpoLog Search Interface, in the search field, enter or copy & paste:
* IN folder.instance-1 in logaccess-TOMCAT-1 | max time-taken | group by url | order by time-taken desc
~ Make sure to specify your own folder path
A similar page of XpoLog Access Logs Performance Analyzer like the following will be presented
~ The time-taken column shows the numbers in milliseconds.
Please note that all the results, lines, graphs and panels are completely clickable and enable further drill down into the root cause analysis of a specific item presented.
A quick glance at the XpoLog Access Logs Analytics Insight section in the left side bar tells you that XpoLog Access Logs Performance Analyzer automatically found some HTTP errors in the access logs it parsed, although you did not specifically asked XpoLog to look for them.
XpoLog Access Logs Performance Analyzer is indicating HTTP error codes it has found that obviously causing your web page to malfunction. In order to analyze there root cause you may want to have a closer look and see how many times an HTTP status code occurred.
In order to do that, copy & paste the following query:
* IN folder.demo in folder.tomcat in log.access * | count | group by status | order by count desc
And get the following results:
From here you can drill down into each individual status code, simply by clicking on it. As an example, let’s look closer at the occurrences of the 404 http error code. By clicking on it, XpoLog automatically changes the query automatically to
status=“404” IN folder.demo IN folder.tomcat IN log.access *
and we get the following results:
Notice the table row below the graph has a plus-sign on the right. If you hover over it, you will get two view options, Log Viewer and Analytics.
In the Log Viewer, you can view each individual log in detail. You can open a new tab for each log and view many logs, each individually down to the smallest detail, and then toggle through the tabs to compare them.
Here is what one of the logs containing a 404 error looks like (scrolled to the middle):
If you choose to view the log in Analytics, XpoLog Access Logs Performance Analyzer will show you all the errors in this log, 404 and any others:
We see that specific access log also has 500 and 501 HTTP status code errors and that they all took place in June. We can zoom in on the June month to look closer at these errors:
The green line with the yellow dots marks the 404 errors. The dots are yellow as it is considered medium severity.
Since we are interested in the 404 errors, we can focus only on that error by clicking on it in the table below the graph. XpoLog will Access Logs Performance Analyzer automatically create the following search query:
status=“404” in folder.Demo in folder.Tomcat in folder.instance-1 in log.access-TOMCAT-1
and the result will bring you back to the XpoLog Search interface:
Another awesome XpoLog Access Logs Performance Analyzer feature you can see in the above screen capture is the drill down box explicitly presenting the number of specific errors found within each moment in time. This box will appear any time you hover over a graph in the Search interface. It is essentially like the XpoLog Analytics Insight section in the left side bar, but specific per time-instance.
From the aforementioned example, we learn that the reason the performance slowed down was not the weight of the page, but rather the HTTP errors – resources not found, internal server errors and not supported/implemented (server does not recognize the request method and is not capable of supporting it for any resource).
XpoLog Access Logs Performance Analyzer GEO IP
Now that we have analyzed the root cause of the website performance, we view and analyze the locations of the visitors with the access logs.
Using XpoLog Access Logs Performance Analyzer a view of all visitors geographic like location and IP is done intuitively.
* | count | geoip group by country,region,city,latitude,longitude | order by count desc
To view a similar page as the below
View your visitors locations from all around the world in a map panel that is fully clickable to zoom inside a specific location and view all the necessary insights.
To sum up, XpoLog Access Logs Performance Analyzer is used to analyzing your website performance data and be able to take actions to improve your users’ experience and increase their satisfaction. Using Access Logs Viewer, Analyzer and Analytics can actually show you in real time what is happening with your website by digging down on visitors’ behavior and your web pages response and understand what’s going on with your business with a set of Apps and Dashboards.