I have created a script field that converts bytes to kb, mb, etc.
The script is
doc[‘bytes’].value / 1
Field type - number,
Format - bytes.
This works great in the sense that I can see the field and its correct value when detected. But when I try to apply a filter like test: greater than 100MB, I get the following error
What do I need to do for this to work?
Thanks in advance.