0 votes
by (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
by (147k points)
edited by
 
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).

by (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?
by (147k points)
Actually, the Timestamp property did made it into R5.5 - see https://www.rebex.net/doc/api/Rebex.Net.SyslogMessage.Timestamp.html 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.
...