mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
Docs: added version note for rename by regex transformation. (#29735)
This commit is contained in:
parent
e313c0cea0
commit
ac3bf352d9
@ -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`.
|
||||
|
Loading…
Reference in New Issue
Block a user