Kv filter values is always returned as string

I got it to work.

I deleted the index and the index pattern and rt shows up as "number" now

Thank you for your fast replies @magnusbaeck