From ac3bf352d9dd8cfacfdbe91e3b52ef2507aa4d54 Mon Sep 17 00:00:00 2001 From: Marcus Andersson Date: Thu, 10 Dec 2020 07:53:52 +0100 Subject: [PATCH] Docs: added version note for rename by regex transformation. (#29735) --- docs/sources/panels/transformations/types-options.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sources/panels/transformations/types-options.md b/docs/sources/panels/transformations/types-options.md index 081b169c846..b6b7fc84bdf 100644 --- a/docs/sources/panels/transformations/types-options.md +++ b/docs/sources/panels/transformations/types-options.md @@ -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`.