influxdb query: specify or filter tag by regex
Found the mistake myself...
I had both a field and a tag with the same key. So I was doing
> SELECT "filed_key" from "measurement" WHERE field_key =~ /val/
Now I have changed my schema so that keys across fields and tags are unique, and everything works as expected.
There's also a discussion about this phenomenon on github.