News for hackers. Stuff that matters.

Ask HN: How do you monitor server logs

How do you do it ? For example, if you have apache running on Ubuntu, you can go into command line and do a grep or even tail -f /var/log/apache2/access.log

What simple tools/services are out there to monitor stuff like this ? Realtime is an added-bonus.

( 4 comments | 2 points | on HN )
Re:Ask HN: How do you monitor server logs by darkst4r on Saturday September 17, 2016 @02:36PM (#12521752)
Re:Ask HN: How do you monitor server logs by paktek123 on Saturday September 17, 2016 @02:47PM (#12521810)
There are many ways, icinga and check_mk have logwatch module to alert on messages matching a regex.

Log aggregation can be done with file beat (logstash) with kibana as frontend. Then there is sentry (python) for logs.

Re:Ask HN: How do you monitor server logs by stympy on Saturday September 17, 2016 @02:56PM (#12521847)
Re:Ask HN: How do you monitor server logs by darkst4r on Sunday September 18, 2016 @02:22PM (#12526407)
this looks legit, what is your experience like with it so far?