I'm not much of a server guy, but do need to monitor logs for my web server. Preferabbly, PHP, Apache and MySQL error logs. Could you guys offer any advice for free web-based solutions for monitoring these server logs?

It's a linux server.

link|improve this question

feedback

6 Answers

up vote 2 down vote accepted

Splunk is excellent and free if you are generating under 500Mb of logs per day

link|improve this answer
feedback

Well, im currently using Nagios

There is not much that you cannot do with the software and it is all free! There are plugins for monitoring all kinds of logs. Its a bit of a pain to setup but fantastic once its all working. If you cannot find a plugin, you can write your own quite easily.

Ive also just setup Awstats, which is fantastic for monitoring IIS logs, the website says it supports Apache logs, not tested though

link|improve this answer
feedback

It rather depends what you want to see from your logs.

For marketing oriented web metrics, you'd have to go a long way to find something better than Google Analytics - which is free for low volumes. Piwik and OWA intended to provide similar functionality.

For a more basic facility there's awstats, webalizer and more.

See also this page.

However there's very little (nothing?) available for detailled performance analysis. I use a compbination of some home grown scripts along with this script for de-parameterizing mysql query logs.

When I've got some time to kill I intend looking at building something out of Yahoo Boomerang and Graphite.

link|improve this answer
feedback

As symcbean says, it depends what you want. If you're using logs as a way to measure traffic, I'd second his suggestion of using Google Analytics. For realtime traffic, try GA's new Realtime feature or Gaug.es.

If you want raw log visibility, like for searching/tail the logs and triggering alerts from the contents, my service Papertrail has a free account. You get a remote syslog target and paste that into syslog.conf (or remote_syslog).

I'd suggest trying a couple things to see what you really use. More features is not always better (and when they aren't features you really want, they'll often get in the way. There's no substitute for a couple weeks of using something yourself.

link|improve this answer
feedback

A good solution maybe Graylog2, but only for one Server this might be a bit overdosed.

link|improve this answer
feedback

You can also take a look at Octopussy (disclaimer: my project).

You can do a lot of things with it (search, store, alerts, reports) and it's totally free (no limits to 500Mb/day) !

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.