Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > The Coffee Lounge
Reload this Page System logs are boring ...
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Coffee Lounge General chat about anything that goes, a good place to introduce yourself and say hi, tell a Joke, or just relax.

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-01-2007   #1 (permalink)
Linux Guru
 
fingal's Avatar
 
Join Date: Jul 2003
Location: Birmingham - UK
Posts: 1,533
System logs are boring ...

... perhaps because I'm a desktop user and my up-time is minimal during the working week. I installed Logwatch not long ago, and configured it to e-mail a breakdown of my system logs using Postfix. So far I haven't learned much from that!

My Snort 'alert' log is more interesting. Every other evening I go into /var/logs/snort and type tail -50 alert . It appears I get port scanned a lot.

Has anyone here learned anything interesting from looking at system logs?
__________________
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
fingal is offline   Reply With Quote
Old 05-01-2007   #2 (permalink)
Linux Enthusiast
 
apoorv_khurasia's Avatar
 
Join Date: Feb 2005
Location: Laurasia
Posts: 624
We (the univ mainframe sys-admin team) use them frequently to analyze system errors and monitor access activities etc.....

Sometimes they come handy when for example some process keeps on dieing etc....

For my desktop....I normally do not go thru the logs unless I have nothing better to do :P.
__________________
"There is no sixth rule"
--Rob Pike
Registered Linux User: 400426 home page
apoorv_khurasia is offline   Reply With Quote
Old 05-01-2007   #3 (permalink)
Linux Guru
 
fingal's Avatar
 
Join Date: Jul 2003
Location: Birmingham - UK
Posts: 1,533
Quote:
Originally Posted by apoorv_khurasia View Post
We (the univ mainframe sys-admin team) use them frequently to analyze system errors and monitor access activities etc.....

Sometimes they come handy when for example some process keeps on dieing etc....

For my desktop....I normally do not go thru the logs unless I have nothing better to do :P.
Hi apoorv: how do you go about analysing those logs? I've found that over time they can start to take up quite a lot of room!
__________________
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
fingal is offline   Reply With Quote
Old 05-01-2007   #4 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
Quote:
Originally Posted by apoorv_khurasia View Post

For my desktop....I normally do not go thru the logs unless I have nothing better to do :P.
What doesn't classify as something better.
I would think recompiling your kernel would classify as something better than going through system logs.

I have looked at system logs just to see what was in them. boooooooooring
__________________
Go RedWings
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline   Reply With Quote
Old 05-02-2007   #5 (permalink)
Linux Enthusiast
 
apoorv_khurasia's Avatar
 
Join Date: Feb 2005
Location: Laurasia
Posts: 624
Quote:
Originally Posted by fingal View Post
Hi apoorv: how do you go about analysing those logs? I've found that over time they can start to take up quite a lot of room!
Yes thats a problem. Some logs take up as much as 2-3 GB of space. As a solution we rotate the logs frequently using logrotate.conf. So after some time (say three weeks) old logs are deleted. Different logs have different frequency of deletion. Hope that clarifies your doubt.
__________________
"There is no sixth rule"
--Rob Pike
Registered Linux User: 400426 home page
apoorv_khurasia is offline   Reply With Quote
Old 05-02-2007   #6 (permalink)
Linux Guru
 
fingal's Avatar
 
Join Date: Jul 2003
Location: Birmingham - UK
Posts: 1,533
Quote:
Originally Posted by apoorv_khurasia View Post
Yes thats a problem. Some logs take up as much as 2-3 GB of space. As a solution we rotate the logs frequently using logrotate.conf. So after some time (say three weeks) old logs are deleted. Different logs have different frequency of deletion. Hope that clarifies your doubt.
Hi apoorv - Yes thanks, that's useful ... I'll take a look at logrotate.conf when I get home. I don't really need to hang onto logs for very long as my computing needs are very simple at this point.

I've been using SMART tools to monitor my hdd lately, and found that information to be useful from my logs. I was worried about my drive failing: but it's not.
__________________
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso

Last edited by fingal; 05-02-2007 at 10:18 AM. Reason: Extra content
fingal is offline   Reply With Quote
Old 05-02-2007   #7 (permalink)
Super Moderator
 
Redman's Avatar
 
Join Date: Oct 2004
Location: The green fields of Brabant, Netherlands
Posts: 589
They can be useful to see if people are attacking your system(s). And through which doors/protocols they try to enter.

It becomes funny when I see which usernames they tried to access through SSH
__________________
"Yoda of Borg are we: Futile resistance is. Assimilate you, we will."
Distributions in use: CentOS 4.7 + 5.2
Registered Linux user #327830
100% on Linux since september 7, 2003 - now I am free!
Redman is offline   Reply With Quote
Old 05-02-2007   #8 (permalink)
Linux Guru
 
fingal's Avatar
 
Join Date: Jul 2003
Location: Birmingham - UK
Posts: 1,533
I must admit, when I posted this I thought, 'Well logs may be boring, but they're also useful!' But perhaps useful=boring?

I never used to look at my system logs, but now I don't feel like anything's going on behind my back. Coming from a Windows background it took me ages to get used to logs ... But I'm pleased I have them.

Some stuff about Logwatch is on: http://www2.logwatch.org:81 There's a similar package for Debian based distros. Not sure what it's called.

<obscure joke>
Never tell an English person that you 'spent the night checking my logs.' They'll give you a strange look and tell their neighbours.
</obscure joke>
__________________
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
fingal is offline   Reply With Quote
Old 05-03-2007   #9 (permalink)
Trusted Penguin
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,567
Personally, I like boring logs. It's when the logs become exciting that you're in the shit

NB: Can I use the word 'shit' on here?
__________________
Linux user #126863 - see http://counter.li.org/
Roxoff is offline   Reply With Quote
Old 05-03-2007   #10 (permalink)
Linux Guru
 
fingal's Avatar
 
Join Date: Jul 2003
Location: Birmingham - UK
Posts: 1,533
Quote:
Originally Posted by Roxoff View Post
Personally, I like boring logs. It's when the logs become exciting that you're in the shit

NB: Can I use the word 'shit' on here?
Nah ... I knew that comment would pull you in though.
__________________
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
fingal is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 02:02 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0