How to access the message timestamp with syslog server

0 votes
asked Aug 3 by qnetjoe (160 points)

I want to access to the timestamp from the syslog message itself. How can i do that?

There is not a property in the SyslogMessage for the message timestamp, even though I can see it in Wireshark.

However there is a property for the messageReccieved Timestamp. My requirements do not allow me to use the later.

Thanks

Applies to: Syslog

1 Answer

+1 vote
answered Aug 3 by Lukas Pokorny (124,570 points)
edited Aug 31 by Lukas Pokorny
 
Best answer

This seems to be an omission. We'll look into it for the R5.5 release!

Update: R5.5 adds SyslogMessageReceivedEventArgs.Timestamp property (available for messages received by a server).

commented Aug 31 by qnetjoe (160 points)
Hi Lukas,

I noticed that 5.5 was released and the change log made no mention to this being fixed. Can you provide an update?
commented Aug 31 by Lukas Pokorny (124,570 points)
Actually, the Timestamp property did made it into R5.5 - see https://api.rebex.net/##RebexTotalPack.chm/Html/P_Rebex_Net_SyslogMessage_Timestamp.htm for details. Please give it a try and let us know whether it's suitable for your needs.

Also, thanks for letting us know about the missing release note. We'll fix that.
...