How to post-process?

Support, Questions and Discussions on WinSyslog

Moderator: alorbach

How to post-process?

Postby netgnom » Mon Apr 18, 2005 3:08 pm

Hallo @all,
i have a problem to post-process a string like "04200000:MyMsg".

The result must be something like that: Syslogtag=04200000 and Message=MyMsg.

I've tried several ways and the best was this:
Syslogtag -> integer -> ""
Filler -> Character Match -> ":"
msg -> Rest of Message -> ""

But the problem ist following: If the Integer beginns with "zero", the post-process-engine cut off the zero an the Syslogtag looks like this "4200000".

How to say to the post-process-engine: "take the first 8 digits as the Syslogtag and all after ":" as Message"?
It not implicit to define the Digits as Syslogtag...It's okay with me also something like : "take the first 8 digits as MyParameter and all after ":" as Message".

Best regards :o)
Ilona
netgnom
New
 
Posts: 5
Joined: Thu Oct 14, 2004 2:31 pm
Location: Berlin

Postby mmeckelein » Fri Jun 10, 2005 1:11 pm

a little bit late :oops: but here the answer:

Syslogtag -> UpTo -> ":"
Filler -> Character Match -> ":"
msg -> Rest of Message -> ""

This should work.

Best regards,
Michael Meckelein
Adiscon
mmeckelein
Adiscon Support
 
Posts: 176
Joined: Wed Mar 12, 2003 12:07 pm

Google Ads



Return to WinSyslog

Who is online

Users browsing this forum: No registered users and 0 guests

cron