Skip to content

Commit 28392a9

Browse files
committed
news: added the news file
Signed-off-by: Hofi <hofione@gmail.com>
1 parent fd0418c commit 28392a9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

news/feature-5248.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
`syslog-ng-ctl`: Formatting the output of the `syslog-ng-ctl stats` and `syslog-ng-ctl query` commands are unified.
2+
3+
Both commands got a new `--format` (`-m`) argument that can control the output format of the given stat or query. The following formats are supported:
4+
5+
- `kv` - the legacy key-value-pairs e.g. `center.queued.processed=0` (only for the `query` command yet)
6+
- `csv` - comma separated values e.g. `center;;queued;a;processed;0`
7+
- `prometheus` - the prometheus scraper ready format e.g. `syslogng_center_processed{stat_instance="queued"} 0`

0 commit comments

Comments
 (0)