Viewed 2 times
I have a variable that is getting set using a query from a dynamic data source. But the issue here is that one of the values contain special characters i.e. ‘+’. Due to which I am unable to visualize this variable in the Grafana dashboard.
E.g. The value I am getting is: Pool/malloc/libstdc++.so.6
Now this contains 2 ‘+’ characters that need to be escaped so that I can use this variable in the regex search field.
I want to change Pool/malloc/libstdc++.so.6 into Pool/malloc/libstdc\+\+.so.6 but I couldnt find anywhere in the Grafana documentation regarding how to do so within a variable’s query. I thought we could do it using regex but the regex in Grafana is only for filtering, not for replacing values.
Any help or guidance would be great!