[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

693.0. "Extracting only selected events" by 36418::SOJDA () Wed Apr 26 1995 15:36

    The customer I am working with has asked for something that I can not
    figure out how to get.  What he wants is to be able to do an extract
    on a log file but to only select events of a certain minimum severity
    level, for example only events that are major or higher.
    
    I have considered doing an extract on all events, then using DCL to
    somehow parse the resulting file and pick out only those that are
    relevant.  However, this is beginning to look formidable as I have no
    easy way of working backwards from the event in the extract file and
    looking up the severity.
    
    Is there anything in V1.6 that either provides this capability or at
    least makes it easier for me to write a procedure to do this?
    
    Any other suggestions on how this might be done?
    
    Thanks in advance,
    
    Larry
    
T.RTitleUserPersonal
Name
DateLines
693.1YOSSAM::PHILIPAnd through the square window...Wed Apr 26 1995 16:149
Larry,

  I am afraid what you want cant be done in V1.5 and we have not done
  anything to change this in V1.6 although we may be persuaded to
  implement this as its seems to be such an easy low risk change to
  make. How about a couple of cases of beer ;-)

Cheers,
Phil
693.2YOSSAM::PHILIPAnd through the square window...Wed Apr 26 1995 18:5511
Ok,

  Its in, with V1.6 you will be able to to ...

  $ CONSOLE EXTRACT fred/EVENTS/PRIORITY=(MINIMUM=WARNING,MAXIMUM=MAJOR)

  And before you ask, no, I am not adding /CLASS or /INFO or any other
  qualifiers.

Cheers,
Phil
693.3Bingo!!LOCH::SOJDAThu Apr 27 1995 18:029
    No need to add /CLASS or /INFO or anything else, /PRIORITY is
    sufficient.
    
    However, a case of real ale would never be turned down!
    
    Thanks for the quick response.
    
    Larry
    
693.4YOSSAM::PHILIPAnd through the square window...Thu Apr 27 1995 18:077
Larry,

  Erm, should you be the one sending us the ale? Its surprising how
  quickly this code could be removed ;-)

Cheers,
Phil
693.5Beer for C codeLOCH::SOJDAThu Apr 27 1995 20:379
    Phil,
    
    Oh, now it see...
    
    You want *me* to give you a case of beer.  Man, I thought this 2-for-1
    deal was too good to be true!!
    
    Larry