Grafana: Variables: Adds substitution regex

Created on 14 Jul 2016  ·  3Comments  ·  Source: grafana/grafana

  • I'm submitting a ...
  • [x] Feature request

Using Grafana v3.1.0, I would like to be able to do a substitution regex in a template, instead of just a match.

For example, if my glob matches the value "abcdef" I would like to use the regex "s/bcd/xyz/" and have the value transformed to "axyzef".

aredashboartemplating typfeature-request

Most helpful comment

+1 Very useful for mapping a variable obtained from one data source query (cloudwatch for ex) to query another data source (graphite)

All 3 comments

+1 Very useful for transforming some cryptic/to_technical values (e.g: ["ofh","nofh"]) to values that some uneducated user can understand (e.g: ["Office Hours","Non Office Hours"])

+1 Very useful for mapping a variable obtained from one data source query (cloudwatch for ex) to query another data source (graphite)

I think this would be a great addition.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kcajf picture kcajf  ·  3Comments

dlintw picture dlintw  ·  3Comments

SATHVIKRAJU picture SATHVIKRAJU  ·  3Comments

yuvaraj951 picture yuvaraj951  ·  3Comments

ericuldall picture ericuldall  ·  3Comments