Multiple variable in InfluxDB from field

Hi all,

i want to use a field build from two template variables ($type and $system): logstash.TM_$type_JSON_$system.events.rate_1m

In the inspector, Grafana replaces the field by:

logstash.TM_$type_JSON_ONEO2S.events.rate_1m

instead of:
logstash.TM_ENG_JSON_ONEO2S.events.rate_1m

Any idea ?