mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-23 08:56:31 +01:00
21 lines
397 B
YAML
21 lines
397 B
YAML
|
- target_label: bar
|
||
|
- source_labels: [aa]
|
||
|
separator: "foobar"
|
||
|
regex: "foo.+bar"
|
||
|
target_label: aaa
|
||
|
replacement: "xxx"
|
||
|
- action: keep
|
||
|
source_labels: [aaa]
|
||
|
- action: drop
|
||
|
source_labels: [aaa]
|
||
|
- action: hashmod
|
||
|
source_labels: [aaa]
|
||
|
target_label: aaa
|
||
|
modulus: 234
|
||
|
- action: replace_all
|
||
|
source_labels: [aa]
|
||
|
target_label: bb
|
||
|
- action: labelmap_all
|
||
|
regex: "\\."
|
||
|
replacement: ":"
|