Skip to content

Commit 44551f5

Browse files
committed
Added conditional set-tag useage.
Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
1 parent 3b7eba2 commit 44551f5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/_admin-guide/110_Template_and_rewrite/001_Modifying_messages/012_Adding_deleting_tags.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,11 @@ rewrite <name_of_the_rule> {
2424

2525
Templates (macros, template functions) can be used when specifying tags,
2626
for example, **set-tag(\"dyn::$HOST\");**.
27+
28+
From version 3.27 of {{ site.product.short_name }} it is possible to set tags based on the value of a specified condition.
29+
30+
Configuration example:
31+
32+
```config
33+
rewrite { set-tag("tag" condition(match("test" value("MSG")))); };
34+
```

0 commit comments

Comments
 (0)