LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-05-2005, 04:08 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
what program do you use to analyze your logs ?


Hi,
I am using logwatch which sends an email every day with the logs of my server.
What I don't like about logwatch is that it doesn't send time stamped messages. For example I can't see when an event has occurred. Only that it has occurred....

Ex:
--------------------- SSHD Begin ------------------------


Failed logins from these:
XXX/password from ::ffff:192.168.60.1: 1 Time(s)

Users logging in through sshd:
YYYY:
server (192.168.60.1): 3 times

---------------------------------------------------------------


What do you use? I've heard about logcheck? Do you use it?


ddaas
 
Old 03-05-2005, 08:56 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You know you could probably hack at the logwatch scripts to include the timestamp..
 
Old 03-06-2005, 02:56 AM   #3
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
I think its impossible
I am almost sure.
I've tried a lot to find out how...



If you find out please tell me how...


ddaas
 
Old 03-06-2005, 09:21 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by ddaas
I think its impossible
I am almost sure.
I've tried a lot to find out how...



If you find out please tell me how...


ddaas
Now why do you think its impossible? The scripts used are perl which read from the log files, it is possible and something you should look into further if your dying to have the timestamps in the output that is emailed to you..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
run program after user logs in kinasz Linux - General 2 09-22-2004 03:47 AM
Program to analyze flash (.swf) files csr99001 Linux - Software 1 06-30-2004 04:24 AM
Program runs when a user logs in mindstormsguy Linux - Software 2 03-31-2004 05:01 PM
MYSQL analyze logs mikeshn Programming 0 11-13-2003 03:48 PM
good program to scan logs? JustinHoMi Linux - Security 5 10-28-2001 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration