Log file analysis is something you should take into consideration as it can improve your overall digital marketing strategy. Log analysis has an impact on visibility, traffic, conversions, sales and helps reveal new points of SEO improvements. Log files are the only data that are 100% accurate to really get how bots are crawling your website.
A log file is actually a file output made from a web server containing ‘hits’ or records of all requests that the server has received. Data are stored and deliver details about the time and date in which the request was made, the URL requested, the user agent, the request ID address, and other interesting details. To explain it quickly, log file analysis allows you to get information about SEO visits and to see what the Googlebot is actually doing on your website. You can thus cross it with your crawl data and see further.
Let’s see the advantages of what you can get with log file analysis.
Log file analysis is useful for many reasons:
You can exactly know what Google does on your website:
Actually, log file analysis can be seen as expensive for companies and many of them stick to crawl analysis. But this technology is getting more accessible.
Open source solutions also exist. One of them is the free OnCrawl open source log analyzer. It is quite easy to install even for non-tech profiles.
Install Docker Tool Box.
Choose Docker Quickstart terminal to start.
Copy/paste the IP address 192.168.99.100
Then, download oncrawl-elk release: https://github.com/cogniteev/oncrawl-elk/archive/1.1.zip
Add these lines in the terminal to create a directory and unzip the file:
And then, add:
(Note: those lines are working for Mac and Linux. If you are under Windows, the process is a little bit more complicated for non techs).
Docker-compose will download all necessary images from docker hub, this may take a few minutes. Once the docker container has started, you can enter the following address in your browser: http://DOCKER-IP:9000. *Make sure to replace DOCKER-IP with the IP you copied earlier.*
You should see the OnCrawl-ELK dashboard, but there is no data yet. Let's get some data to analyze!
Importing data is as easy as copying log access files to the right folder. Logstash starts indexing any file found at logs/apache/*.log, logs/nginx/*.log, automatically.
If your web server is powered by Apache or NGinx, make sure the format is combined for log format. They should look like this:
127.0.0.1 - - [28/Aug/2015:06:45:41 +0200] "GET /apache_pb.gif HTTP/1.0" 200 2326 "http://www.example.com/start.html" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
Drop your .log files into the logs/apache or logs/nginx directory accordingly.
Go back to http://DOCKER-IP:9000. You should have figures and graphs. Congratulations!
You can now start using the free open source log analyzer and daily monitor your SEO performance.
To sum up, log file analysis is a powerful partner to increase your SEO performances and as a result, helps you drive more traffic and conversions to your website!
[xyz-ihs snippet="Hubspot-CTA-Leaderboard"]