The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Find duplicates from multuple files with 2 diff types of files ricky007 Shell Programming and Scripting 2 03-04-2008 10:46 AM
Query: Analysing the Core file Prajakta HP-UX 5 01-04-2008 09:20 AM
Help analysing progress of a log file cosmos328is UNIX for Dummies Questions & Answers 4 10-11-2007 03:18 AM
Analysing truss log buytamil UNIX for Advanced & Expert Users 2 10-22-2006 07:26 AM
text files, ASCII files, binary files and ftp transfers Perderabo Answers to Frequently Asked Questions 0 04-08-2004 01:25 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-04-2008
Registered User
 

Join Date: Apr 2007
Location: England
Posts: 21
Analysing Log Files?

I'm not sure if this query is relevant to this forum but here goes anyways...

I want analyse log files that do not appear to be of standard format. I have tried using Analog but cannot config it to read the files.

Does anyone have any advice on working with log files taken from a Unix (Solaris) server?

Thanks.
Reply With Quote
Forum Sponsor
  #2  
Old 06-04-2008
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,029
don't know what 'Analog' is, but.... posting a sample log file and defining the term 'analyse' could help.
Reply With Quote
  #3  
Old 06-04-2008
Registered User
 

Join Date: Apr 2007
Location: England
Posts: 21
Analog: WWW logfile analysis

Looks like I have an event log rather than a web log.

Are there tools for examining event logs?
Reply With Quote
  #4  
Old 06-04-2008
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
Have a look at the LogFile and LogFormat directives in the httpd.conf, they should tell you what format is used, it many not be unified log format.

EDIT, jut read the last post.


Can you provide a sample event? What is generating the events?
Reply With Quote
  #5  
Old 06-04-2008
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,029
Others might know - I don't.
Reply With Quote
  #6  
Old 06-04-2008
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,031
Usually you work with the tools that come with about every Unix/Linux. Some of them are grep, sort, cut, uniq, sed, awk, and so on.
Reply With Quote
  #7  
Old 06-04-2008
Registered User
 

Join Date: Apr 2007
Location: England
Posts: 21
Quote:
Originally Posted by reborg View Post
Can you provide a sample event? What is generating the events?
Here are the first few lines for the logfile in question:

Quote:
<log4j:event logger="VistaMonitor" timestamp="1212424680270" time="Mon Jun 02 17:38:00 BST 2008" level="INFO" thread="VistaPooledThread-10:101" schema="LMS">
<log4j:message><![CDATA[

Background Job Service: Available number of worker threads: 5
Background Job Service: Number of started jobs per thread: 7879,7180,6922,7145,7969
Background Job Service: Number of completed jobs per thread: 7879,7180,6922,7145,7969
Background Job Service: Number of failed jobs per thread: 0,0,0,0,0
Background Job Service: Total number of pending jobs: 0
Background Job Service: Total number of started jobs: 37095
Background Job Service: Total number of completed jobs: 37095
Background Job Service: Total number of failed jobs: 0
Background Job Service: Completed jobs: 100%

Session: Current user count: 22
Session: Active user sessions in last 5/10/15 minutes: 4/8/9
Session: Average requests/minute for the last 5 minutes: 31
Http Session: Current number of open sessions: 4648
Http Session: High water mark of the total number of open sessions: 24765
Http Session: Total number of sessions opened: 410383
Ideally I would like to get an 'extract' of the Current user count value for each day or hour. I've no idea to go about it.

Someone else has managed to do something similar here:
WebCT Log Analyzer - Main Page

I have contacted them but have not received a reply.

Any ideas how I can setup something the same/similar?

Cheers
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:14 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0