We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd0418c commit 28392a9Copy full SHA for 28392a9
news/feature-5248.md
@@ -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