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
Filter by integer
Moderator: admin
Re: Filter by integer
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:
And my regex + results:
![Image](https://logmx.com/pics/forum/int-field.png)
Xavier
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
![Image](https://logmx.com/pics/forum/int-field.png)
Xavier