How to define mustache variable for Kibana TSVB time series label

I don't think I understand your goal then. Can you explain?