ADD rexexp and replacement : not OK
This commit is contained in:
parent
04f693e895
commit
ad8d7d852a
|
@ -49,7 +49,14 @@
|
|||
static_configs = [{
|
||||
targets = [ "192.168.10.116:9521" ];
|
||||
}];
|
||||
relabel_configs = [{
|
||||
source_labels = [ "device" ];
|
||||
target_label = "id";
|
||||
regex = "c9:5e:c5:16:23:4d" ;
|
||||
replacement = "A";
|
||||
}];
|
||||
}
|
||||
|
||||
];
|
||||
};
|
||||
users.users.caddy = {
|
||||
|
|
Loading…
Reference in New Issue