Format -> Color regexp for numerical fields?


What kind of regexp does this color formatter support for numericals? I'm don't have a lot of knowledge regarding regexp but something like [5-9][0-9] or ([5-9][0-9]) works in online regexp checkers but not in Kibana.

Setting static values does not appear to work either (e.g. my index has a value 50.0 and I put 50.0 in the field formatter).

The fields are mapped as numbers (half-float).

I have no problems using various regexp to match string values.

It's not a regex, it's a simple range. For example, 0:5 would mean "from 0 to 5". No regex is accepted.

1 Like

Thanks, that works.

I thought it had to be regex as that works on string fields.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.