You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/_admin-guide/060_Sources/153_stats_exporter/000_stats_exporter_source_options.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@ description: >-
5
5
The stats-exporter() sources directly can serve the output of syslog-ng-ctl stats and syslog-ng-ctl query to an HTTP Scraper. Unlike the stats-exporter-dont-log() that suppresses log messages from incoming scraper requests, the stats-exporter() logs the unparsed messages, storing incoming scraper HTTP requests in the MSG field.
6
6
---
7
7
8
-
Technically, both sources are specialized versions of the `network()` source. For more options and details, see the network() source options.
8
+
Technically, both sources are specialized versions of the network() source. For more options and details, see the network() source options.
9
9
10
-
>**NOTE:** A destination is not required for this source to work; the `stats-exporter()` sources will respond to the scraper regardless of whether a destination is present in the log path.
10
+
>**NOTE:** A destination is not required for this source to work; the stats-exporter() sources will respond to the scraper regardless of whether a destination is present in the log path.
11
11
{: .notice--info}
12
12
13
13
These drivers have the following additional options:
@@ -17,7 +17,7 @@ These drivers have the following additional options:
17
17
|Accepted values:| query \| stats |
18
18
|Default: | stats |
19
19
20
-
*Description:* This option sets the desired stat type to be produced in response to an HTTP Scraper request. This method operates like the `syslog-ng-ctl` command line tool.
20
+
*Description:* This option sets the desired stat type to be produced in response to an HTTP Scraper request. This method operates like the syslog-ng-ctl command line tool.
21
21
22
22
## stat-query()
23
23
@@ -31,7 +31,7 @@ These drivers have the following additional options:
31
31
|Accepted values:| csv \| kv \| prometheus |
32
32
|Default: | prometheus |
33
33
34
-
*Description:* This option specifies the format of the statistics output in HTTP responses, similar to the options available in `syslog-ng-ctl`. The available formats are the following:
34
+
*Description:* This option specifies the format of the statistics output in HTTP responses, similar to the options available in syslog-ng-ctl. The available formats are the following:
Copy file name to clipboardExpand all lines: doc/_admin-guide/060_Sources/153_stats_exporter/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,5 +53,5 @@ log {
53
53
};
54
54
```
55
55
56
-
>**NOTE:** A destination is not required for this to work. The `stats-exporter()` sources will respond to the scraper regardless of whether a destination is present in the log path or not.
56
+
>**NOTE:** A destination is not required for this to work. The stats-exporter() sources will respond to the scraper regardless of whether a destination is present in the log path or not.
0 commit comments