Search found 526 matches

by admin
Fri Sep 04, 2020 2:05 am
Forum: Writing a Parser
Topic: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong
Replies: 5
Views: 173

Re: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong

Hello, No worries, happy to help you use LogMX :) When you say you "can't display milliseconds at the 'display entries date with custom format'" , do you mean the timestamps in the main logs view doesn't display milliseconds as indicated by this Display option? or maybe your intent was to display na...
by admin
Thu Sep 03, 2020 3:28 am
Forum: Writing a Parser
Topic: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong
Replies: 5
Views: 173

Re: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong

Actually, let me help you even further: here is a Java Class Parser I wrote for you to handle nanoseconds dates: logmx.parser.export To import it, go to Options > Parsers, and click on the import button at the bottom right corner, and select the file you downloaded from the above link. You can now d...
by admin
Thu Sep 03, 2020 2:21 am
Forum: Writing a Parser
Topic: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong
Replies: 5
Views: 173

Re: Regex parser, timestamp with milliseconds and timezone, time is parsed wrong

Hello, I believe the dates in these logs don't use milliseconds, but probably nanoseconds (because there are at least 7 digits after the seconds). And as mentioned in the LogMX documentation, only milliseconds are handled. So LogMX interprets this as 1,924,648 milliseconds, which is around 32 minute...
by admin
Tue Aug 25, 2020 1:49 am
Forum: Installing LogMX
Topic: Installing on macOS Catalina
Replies: 1
Views: 136

Re: Installing on macOS Catalina

Hello, I was not able to reproduce the issue with my macOS Catalina laptop, which makes me think that it's probably due to a security setting: the Apple support pages https://support.apple.com/en-ca/guide/mac-help/mchleab3a043/mac and https://support.apple.com/en-us/HT202491 explain how to fix these...
by admin
Tue Aug 18, 2020 2:17 am
Forum: Writing a Parser
Topic: NullPointerException
Replies: 3
Views: 10802

Re: NullPointerException

Hello,

OK, since there is clearly a need, we will add it in the next version (v8.0) :D (probably a "init()" public method to prepare the Parser if not already initialized).

We will let you know when it's available!

Thanks for your feedback.

Xavier
by admin
Sun May 17, 2020 7:26 pm
Forum: Using LogMX
Topic: Runtime Exception java.lang.reflect.InvocationTargetException
Replies: 1
Views: 978

Re: Runtime Exception java.lang.reflect.InvocationTargetException

Hello, I tried to reproduce this error with LogMX v7.12.0 but I didn't manage to. I tried with a Regex parser using the date format you mentioned, and the date "17/May/2020:8:00:00 -0400" in the logs, but it worked fine. Could you please post here a few lines from your logs as well as the compete Re...
by admin
Thu Apr 16, 2020 10:57 pm
Forum: Writing a Parser
Topic: Regex, OR, multiline and mixed logs
Replies: 2
Views: 2560

Re: Regex, OR, multiline and mixed logs

Hello Chemo, Happy to hear you like LogMX ;-) In order to parse the given text 10:52:15,123 FATAL Exception 1 thrown caused by Exception 2 caused by Exception 3 using a Regex parser, I would use this Regex instead: (\S+?:\S+?:\S+?,\S+?)\s+?(\S+)\s+?(.*) Basically, when you want to match multiple cha...
by admin
Thu Apr 16, 2020 10:39 pm
Forum: Writing a Parser
Topic: Using milisecond timestamp with regex parser
Replies: 1
Views: 1334

Re: Using milisecond timestamp with regex parser

Hello Eyal, The issue with using just milliseconds is that by default, the reference time will be the UNIX epoch (i.e. Jan 1st 1970, 00:00), so instead of getting 20:00:00 you would get "Jan 1st 1970 20:00:00", and instead of 25:00:00 you would get "Jan 2nd 1970 01:00:00". And it would actually be e...
by admin
Sat Mar 21, 2020 1:25 pm
Forum: Installing LogMX
Topic: Log file alerts option
Replies: 4
Views: 18447

Re: Log file alerts option

Hello, This feature is now available in the new LogMX version 7.11.0 :) You can now use %e{message}, %{date}, %{level}... to include just the entry message, date, level... in an external program command line or email when an alert is triggered (sorry it was actually released 2 weeks ago, but I misse...
by admin
Mon Mar 16, 2020 11:27 pm
Forum: Writing a Parser
Topic: Help with JSON parser
Replies: 6
Views: 4035

Re: Help with JSON parser

Hi Rod,

Got it, here is a new version (you can recognize it in LogMX options, "Parsers" tab, because its version is "v2"):
sococo-parser.export
(4.62 KiB) Downloaded 292 times
Let me know!
Xavier
by admin
Mon Mar 16, 2020 1:01 am
Forum: Writing a Parser
Topic: Help with JSON parser
Replies: 6
Views: 4035

Re: Help with JSON parser

Hello Rod, OK so I gave it a try, and a 2 MB log file consisting of only 1 giant line worked, but I already felt that the parsing was not immediate (~half a second) on a pretty good machine (due to this giant line). Some optimizations may be required. You will first have to add this JSON parser libr...
by admin
Sat Mar 14, 2020 3:07 am
Forum: Writing a Parser
Topic: Help with JSON parser
Replies: 6
Views: 4035

Re: Help with JSON parser

Hello, Yes, the built-in JSON parser is only compatible with Log4j JSON files, so it is not compatible with this format. But to be honest, I find this log format really weird, I have never seen a log file composed of a single line containing all the log entries... What about when there are a lot of ...
by admin
Sat Mar 14, 2020 2:50 am
Forum: Writing a Parser
Topic: Help with multi-line regex parser
Replies: 9
Views: 4577

Re: Help with multi-line regex parser

Hello,

Here is a new version of the Parser handling these cases.
kerio-connect-parser.export
(5.96 KiB) Downloaded 323 times
Let me know if you have any questions/problems!

Xavier
by admin
Thu Mar 12, 2020 2:39 am
Forum: Writing a Parser
Topic: Help with multi-line regex parser
Replies: 9
Views: 4577

Re: Help with multi-line regex parser

OK thanks, but what about the "Process ID" now surrounded by square brackets [] instead of parentheses () ? Was it a typo or both are possible?
by admin
Thu Mar 12, 2020 1:50 am
Forum: Using LogMX
Topic: Manually Switching to Next Parser
Replies: 4
Views: 8823

Re: Manually Switching to Next Parser

Hello,

Better late than never, this feature is now available in LogMX v7.11.0 which has just been released :D (to use it, go to the "Parser" tab from the "Open logs" dialog):
parser.png
parser.png (30.2 KiB) Viewed 3959 times
This feature can also be used with Bookmarks and all kind of workspace elements.