2
votes
1answer
75 views

Copying lines from multiple logfiles, based on content of the line

I have multiple log files of 10mb each. The content of the log files always look like this: 06.09.2012, 21:36:02:83: xxxxx yyyyyy zzz 06.09.2012, 21:36:02:84: xx yyy zzz 06.09.2012, 21:36:05:24: ...
0
votes
2answers
2k views

Removal of old mail logs in ubuntu - rm or not?

I have a ubuntu server which handles mail via postfix. The server has recently been caned by spam emails and the mail logs are really large as a consequence. The logs are stored with timestamps and I ...
2
votes
5answers
371 views

Any way to determine how files were deleted on Linux/Apache server?

PROBLEM: I have several missing directories on an offsite Linux/Apache server. I've tracked down about when they went missing from the httpd error logs, and I have a list of SSL logins to the machine ...
7
votes
7answers
4k views

How long do you keep log files?

I have an application which writes its log files in a special folder. Now I'd like to add a functionality to delete these logs after a defined period of time automatically. But how long should I keep ...
0
votes
1answer
133 views

Limiting size on transaction log file

I am running out of space on my C disk. How do I a) reduce the size of the current log b) put a limit on it so it won't happen again. Thanks! EDIT: I have changed my backup mode from full to ...
2
votes
2answers
104 views

Apache - Getting Alerts on Traffic/Spiders Exceeding a Threshold

What tools can I use to monitor my Apache Log files and create alerts based on traffic. I need to: Get an alert when a spider that is outside of a defined list exceeds a set number of requests in ...