Templating with fields not working

Hi all

I want to get all field names of type float.
so I simply tried
{“find”: “fields”, “type”: “float”}
but I get the error
“Template variables could not be initialized: undefined”

here is my mapping
mapping

what should I do?

grafana v6.2.1
elasticsearch 5.6.3

well it is now working without any changes :slight_smile: