Filter by integer

Notes, tips, and other usefull things on how to use LogMX

Moderator: admin

Post Reply
runger
Posts: 1
Joined: Tue Jan 15, 2019 11:02 am

Filter by integer

Post by runger » Tue Jan 15, 2019 11:06 am

Hi,

I've set up a regex parser for reading in our access logs (custom format). Parsing is working fine.

I'm trying to filter by duration, which is defined as a Integer Custom Field.
Filtering is not working by any of the numeric fields. Filtering based on the string-based fields is working fine. Changing the type to "Double" doesn't work either.

Note that some of the lines contain no value for duration, but in all lines which do have a value it is a correctly parsable integer.

What could be going wrong? Is this a known bug?

Thanks and regards from Vienna,

Richard

admin
Site Admin
Posts: 506
Joined: Sun Dec 17, 2006 10:30 pm

Re: Filter by integer

Post by admin » Wed Jan 16, 2019 4:48 am

Hello,

It should work (I just tested it), there's no known bug related to what you describe. Could you please post here a few lines of your logs and your Regex?

On my side, here is my test log file:

Code: Select all

ERROR 3 msg 3
INFO 1 msg 1 
DEBUG  msg empty
INFO 1 msg 1 
DEBUG  msg empty
INFO 2 msg 2
And my regex + results:
Image

Xavier

Post Reply