After writing my previous article about shipping Apache logs to Elasticsearch via Logstash, I changed my setup for various reasons. But I still visualize them using Kibana.
I needed a more convenient way to view my Apache access logs, other than tailing the access logs files on my webserver. Why not use Kibana for this? It not only shows you the access log lines, it also lets you create nice graphs about visitors, response codes, user agents, etcetera.
A very commonly used statstics program for the Apache webserver is the webalizer program that analizes httpd log-files and creates site statistics from that. But standard it’s configured for only one domain. As I am running multiple domains on my RedHat Enterprise Linux machine and want seperate statistics for them, some work had to be done.