Quantcast
Viewing all articles
Browse latest Browse all 208

Transform data - Rename fields by regex

Version: Grafana v11.2.2+security-01 (dc86a9eafb)
Hello,
what is the correct match to rename:

kostal-piko-ba.0.Power.AC1Voltage
kostal-piko-ba.0.Power.AC2Voltage
kostal-piko-ba.0.Power.AC3Voltage

to

L1
L2
L3

I try:
Match: /kostal-piko-ba.0.Power.AC(\d)Voltage/
Replace: L$1

but nothing happens.

Best regards
Marco

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 208

Trending Articles