Questions tagged [logging]

Recording activity on the system (or of a particular program) for later reporting and analysis. Logins, logouts, web server page requests, etc might all be logged.

2891 questions
29
votes
6 answers

Turning a log file into a sort of circular buffer

Folks, is there a *nix solution which would make the log file act as a circular buffer? For example, I'd like log files to store maximum 1Gb of data and discard the older entries once the limit is reached. Is it possible at all? I believe in order…
pachanga
  • 495
12
votes
7 answers

Is there a web-based log-tailing application?

I have been using BareTail for low-footprint log reading, and it works wonderfully. In particular, I like that it can consume very large large files, detect changes to those files, all without consuming much memory at all. I'd like to know if there…
10
votes
8 answers

The most powerful open source web analytics tools?

Need some advices on choosing open source web analytics tools, including both of page tagging and log file analysis type. I know some of them: piwik, open web analytics, awstats and more... what are the best ones among them(page tagging type and log…
Mickey Shine
  • 949
  • 4
  • 18
  • 33
8
votes
2 answers

Nagios vs Splunk

I am looking to implement log tracking at my current company. After some research it seems Nagios and Splunk are the two best options. I was wondering if there is a consensus with which is better. I understand that Splunk can be quite pricey if the…
dan_vitch
  • 357
  • 1
  • 3
  • 8
6
votes
2 answers

How do server administrators like their server logs?

I'm a software developer and I'm building an HTTP server. Since I have no experience in hosting and managing servers, I have problems with balancing logging performance with usability. For example, is it acceptable to use one log file per domain? Or…
hush
  • 61
5
votes
2 answers

Log Aggregation solutions

We are currently evaluating log aggregation solutions at my company. I understand that Splunk is one of the best solutions, but what are some of the "negatives" with using Splunk? Is there anything else out there that maybe does a better job of log…
pdaddy
  • 53
4
votes
1 answer

For how long do I need to store the logs?

I will soon be running an internet-based public service which will physically be hosted in the UK on a virtual server. The virtual server is provided by the ISP. I was wondering if there is/are any legal requirement(s) to keep access logs, and if…
mindas
  • 238
4
votes
3 answers

How to get Apache download counts by week

(Please move to serverfault if appropriate - it seems more of an application issue to me) I've got a PHP server, hosting MP3 files for a podcast. I'd love to get a week by week breakdown of how many times the files were downloaded (is the long tail…
user34021
3
votes
2 answers

A linux tftpd server that can log the incoming requests to stdout/stderr

I find it crazy that this doesn't work out of the box, but neither atftpd nor tftpd-hpa seem to have any way to log to the console. I've run them in the foreground with verbosity right up but clearly that's not the right magic incantation. I'm…
Draemon
  • 527
2
votes
1 answer

Logfile full of '...mydomain.net/wp-login.php' not found or unable to stat

Whenever I check my logfile most of it entries look like that with changing client ip [Fri Nov 18 04:03:25 2016] [-:error] [pid 32060] [client 65.95.116.2XX] [host www.mydomain.net] script '/is/htdocs/www/mydomain.net/wp-login.php' not found or…
Adam
  • 123
2
votes
2 answers

Ubuntu 14.04. auth.log deleted

the log file auth.log has dissappeared on my ubuntu 14.04 server. Fail2ban log says that suddenly the file was gone: 2016-04-16 21:59:56,735 fail2ban.actions: WARNING [ssh] Ban 192.169.189.36 2016-04-17 01:27:51,182 fail2ban.filter : ERROR Unable…
mirage
  • 123
2
votes
2 answers

How to make Ossec aware of logrotate

I installed Ossec in a monitor/agent configuration on a few servers of mine. Everything works greats. The only thing that annoy me is that I keep receiving alerts after logrotate rotates the log I watch. Now my mailbox is full of Rule: 550 fired…
calve
  • 103
2
votes
1 answer

Integrating log4cxx and kafka

What is the best way to push logs from a C++ server using log4cxx for logging to a kafka cluster? Is there any compatible log4cxx appender or any proxy that I could deploy in the middle?
ggarber
  • 121
2
votes
1 answer

Log Archiving Solution

What is the best solution for log archiving ? I have two application server (tomcat6) and I need to keep application log files for 7 years. Shipping, zipping and writing them on Bluray or DVD is time consuming, some the process is already automated…
2
votes
1 answer

Splunk as syslog analyzer

I have running centralized syslog server (rsyslog on CentOS6, which works perfect). Next step it was to add Splunk as a syslog analyzing tool. All was installed perfectly - Splunk works, can log in to the front end and add data source (TCP port 514)…
1
2 3 4