Commit ac3bf352 by Marcus Andersson Committed by GitHub

Docs: added version note for rename by regex transformation. (#29735)

parent e313c0ce
......@@ -402,6 +402,8 @@ Conditions that are invalid or incompletely configured are ignored.
## Rename by regex
> **Note:** This transformation is only available in Grafana 7.4+.
Use this transformation to rename parts of the query results using a regular expression and replacement pattern.
You can specify a regular expression, which is only applied to matches, along with a replacement pattern that support back references. For example, let's imagine you're visualizing CPU usage per host and you want to remove the domain name. You could set the regex to `([^\.]+)\..+` and the replacement pattern to `$1`, `web-01.example.com` would become `web-01`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment