Time offset on parser mapping


Author
Message
Patrick Dawson
Patrick Dawson
New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)New Member (41 reputation)
Group: Forum Members
Posts: 5, Visits: 34
Hi there. Is it somehow possible to set the time offset in the parser mappings (or by file name pattern). We have some logfiles that have timestamps in UTC (but don't use the ISO 8601 format) and other logfiles that print in local time: this way LogViewPlus cannot figure out the correct timezone. 
I already found out that I can adjust this with "time offset" manually. This way is a bit cumbersome if I open a zip file with a lot of logs and then have to adjust the time offsets manually). It would be nice to be able to configure this once per file pattern and then be done with it.

Is this possible somehow or planned as a feature in the near future?
Reply
LogViewPlus Support
LogViewPlus Support
Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)
Group: Moderators
Posts: 1.3K, Visits: 4.4K
Hi Dawson,

I just wanted to let you know that we have now released LogViewPlus v3.0.1 as a BETA release. This release allows you to define the date format with an offset.  To do this, define the date format with new -offset parameter and the number of milliseconds by which the date should be offset. For example, if you would like to offset the date by an hour, you could use something like:

%d{dd/MM/yyyy HH:mm:ss.fff -offset:3600000}

Hope that helps. Thanks again for bringing this issue to our attention.

Toby
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Login

Explore
Messages
Mentions
Search