Hello, can’t figure out how labels to fields transformation works.
Using MySQL datasource with the query:
select unix_timestamp(‘2020-07-07 11:34:20’) as time, ‘Server A’ as Server, ‘EU’ as Datacenter, 1 as Value
union
select unix_timestamp(‘2020-07-07 11:34:20’) as time, ‘Server B’ as Server, ‘EU’ as Datacenter, 2 as Value
Only I can get after applied “Server” as Value field name is:
By some reason column “Datacenter” becomes “Datacenter 1” and “Datacenter 2”, while my expectation is 1 column “Datacenter” with “EU” value as described in documentation:
Grafana version 8.1.2, OS Debian 10