- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
ESI, Device with fixed width time stamp
Hi,
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?
Thanks
Shawn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
can you please send couple of sample logs with both examples?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 03 14:00:07 [1.1.1.1 May 3 14: 0: 7 XXX-YYY-01 Alarm 'Link Down. Interface Index : 3 '
May 03 13:52:30 [1.1.1.1] May 3 13:52:30 XXX-YYY-01 Alarm 'Link Down. Interface Index : 3 '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
did you have to manually update the device XML?
