Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
news: add syslog-ng#3115
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed Feb 24, 2020
1 parent 32887a0 commit 7dcbfab
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions news/feature-3115.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
`set-severity()`: new rewrite rule for changing message severity

`set-severity()` receives a template and sets message severity by evaluating the
template.

Numerical and textual severity levels are both supported.

Examples:

```
rewrite {
set-severity("info");
set-severity("6");
set-severity("${.json.severity}");
};
```

0 comments on commit 7dcbfab

Please sign in to comment.