Skip to content

Commit

Permalink
in_kubernetes_events: update to match consolidated timestamp fetching…
Browse files Browse the repository at this point in the history
… logic (#1277)

Signed-off-by: ryanohnemus <ryanohnemus@gmail.com>
  • Loading branch information
ryanohnemus committed Jan 19, 2024
1 parent 3ca8c3b commit f191428
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pipeline/inputs/kubernetes-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Kubernetes exports it events through the API server. This input plugin allows to
| kube_request_limit | kubernetes limit parameter for events query, no limit applied when set to 0. | 0 |
| kube_retention_time | Kubernetes retention time for events. | 1h |
| kube_namespace | Kubernetes namespace to query events from. Gets events from all namespaces by default | |
| timestamp_key | Record accessor for the timestamp from the event. | $lastTimestamp |
| tls.debug | Debug level between 0 (nothing) and 4 (every detail). | 0 |
| tls.verify | Enable or disable verification of TLS peer certificate. | On |
| tls.vhost | Set optional TLS virtual host. | |
Expand All @@ -49,3 +48,6 @@ kube_url https://kubernetes.default.svc
name stdout
match *
```

### Event Timestamp
Event timestamp will be created from the first existing field in the following order of precendence: lastTimestamp, firstTimestamp, metadata.creationTimestamp

0 comments on commit f191428

Please sign in to comment.