by Phil » Thu Jul 21, 2005 3:08 pm
Thx 4 the answer.
>I have to admit I am a bit puzzled from your sample. Is this an actual sample of just a hypothetical one?
na, that is a real log (yes, I know...) I received on my syslog server from a Windows box.
i'm doing log filtering upon some keywords, and the eventlogs I receive from windows boxes can't be processed with the log-checker app I'm using with that output format.
>In general, the text itself is based on what the Windows application generates. With EventReporter and MonitorWare Agent, you can reformat the message (via the PostProces Action), but it would be a massive amount of work to do this for all messages. The problem is that if you would like to change the actual message text, you would need to do this on a message-by-message basis. However, if you would just like to shuffle some fields inside the message, that is easy.
I don't want to change all the messages. Just the format of it.
I'd like to remove all the fields (or tokens) and keep something like :
<timestamp> <machine> : <message>
as a linux log...
>I would appreciate if you could post some actual sample data (from the system event log, for example), so that we can see what can be tweaked.
This is a windows eventlog I received today :
Jul 21 15:01:27 WP1146/192.168.60.76 MSWinEventLog 2 System 2 Wed Jul 20 15:00:17 2005 7000 Service Control Manager Unknown User N/A Error WP1146 None The service failed to start due to the following error: The system cannot find the file specified. 1
I'd like to see something like this :
Jul 21 15:01:27 WP1146/192.168.60.76 : The service failed to start due to the following error: The system cannot find the file specified.