Skip to content

Commit c638eca

Browse files
authored
Correct doc for Kubernetes Events input (#1214)
Signed-off-by: Jack Henschel <[email protected]>
1 parent cff63cb commit c638eca

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

pipeline/inputs/kubernetes-events.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ Kubernetes exports it events through the API server. This input plugin allows to
1717
| interval_sec | Set the polling interval for each channel. | 0 |
1818
| interval_nsec | Set the polling interval for each channel (sub seconds: nanoseconds) | 500000000 |
1919
| kube_url | API Server end-point | https://kubernetes.default.svc |
20-
| kube_ca_file | Kubernetes TLS CA file | /var/run/secrets/kubernetes.io/serviceaccount/ca.crt |
21-
| kube_ca_path | Kubernetes TLS ca path | |
20+
| kube_ca_file | Kubernetes TLS CA file | /var/run/secrets/kubernetes.io/serviceaccount/ca.crt |
21+
| kube_ca_path | Kubernetes TLS ca path | |
2222
| kube_token_file | Kubernetes authorization token file. | /var/run/secrets/kubernetes.io/serviceaccount/token |
23-
| kube_token_ttl | kubernetes token ttl, until it is reread from the token file. | 10m |
23+
| kube_token_ttl | kubernetes token ttl, until it is reread from the token file. | 10m |
2424
| kube_request_limit | kubernetes limit parameter for events query, no limit applied when set to 0. | 0 |
25-
| kube_retention_time | Kubernetes retention time for events. | 1h |
26-
| kube_namespace | Kubernetes namespace to query events from. Gets events from all namespaces by default | |
27-
| tls.debug | Debug level between 0 (nothing) and 4 (every detail). | 0 |
28-
| tls.verify | Enable or disable verification of TLS peer certificate. | On |
29-
| tls.vhost | Set optional TLS virtual host. | |
25+
| kube_retention_time | Kubernetes retention time for events. | 1h |
26+
| kube_namespace | Kubernetes namespace to query events from. Gets events from all namespaces by default | |
27+
| tls.debug | Debug level between 0 (nothing) and 4 (every detail). | 0 |
28+
| tls.verify | Enable or disable verification of TLS peer certificate. | On |
29+
| tls.vhost | Set optional TLS virtual host. | |
3030

3131
## Getting Started
3232

3333
### Simple Configuration File
3434

35-
In the following configuration file, the input plugin _windows_exporter_metrics collects _metrics every 2 seconds and exposes them through our [Prometheus Exporter](../outputs/prometheus-exporter.md) output plugin on HTTP/TCP port 2021.
35+
In the following configuration file, the input plugin *kubernetes_events* collects events every 5 seconds (default for *interval_nsec*) and exposes them through the [standard output plugin](../outputs/standard-output.md) on the console.
3636

3737
```text
3838
[SERVICE]
@@ -47,6 +47,4 @@ kube_url https://kubernetes.default.svc
4747
[OUTPUT]
4848
name stdout
4949
match *
50-
51-
52-
```
50+
```

0 commit comments

Comments
 (0)