I'm using the new ESI tool (this is great, BTW!) and I have a device that reports it's timestamp like so:
May 3 11:45: 2
I can't get a header to work for both this scenario and:
May 3 11:45:45
How do I deal with this?
What is the error you are getting? did you try variable width option?
It defaults to variable width, and unfortunately it doesn't work, since there is a space between the : and the single digit number, which throws off the parsing of the rest of the header.
can you please send couple of sample logs with both examples?
May 03 14:00:07 [220.127.116.11 May 3 14: 0: 7 XXX-YYY-01 Alarm 'Link Down. Interface Index : 3 '
May 03 13:52:30 [18.104.22.168] May 3 13:52:30 XXX-YYY-01 Alarm 'Link Down. Interface Index : 3 '
I figured it out! I am using the Envision time stamp, and then assigned each part of the device timestamp to variables instead. That seems to allow me to parse the header correctly.
If there is a way to parse the device time stamp correctly I'd still like to know though...
did you have to manually update the device XML?
Retrieving data ...