Skip to content

Commit f191428

Browse files
authored
in_kubernetes_events: update to match consolidated timestamp fetching logic (fluent#1277)
Signed-off-by: ryanohnemus <[email protected]>
1 parent 3ca8c3b commit f191428

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pipeline/inputs/kubernetes-events.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Kubernetes exports it events through the API server. This input plugin allows to
2424
| kube_request_limit | kubernetes limit parameter for events query, no limit applied when set to 0. | 0 |
2525
| kube_retention_time | Kubernetes retention time for events. | 1h |
2626
| kube_namespace | Kubernetes namespace to query events from. Gets events from all namespaces by default | |
27-
| timestamp_key | Record accessor for the timestamp from the event. | $lastTimestamp |
2827
| tls.debug | Debug level between 0 (nothing) and 4 (every detail). | 0 |
2928
| tls.verify | Enable or disable verification of TLS peer certificate. | On |
3029
| tls.vhost | Set optional TLS virtual host. | |
@@ -49,3 +48,6 @@ kube_url https://kubernetes.default.svc
4948
name stdout
5049
match *
5150
```
51+
52+
### Event Timestamp
53+
Event timestamp will be created from the first existing field in the following order of precendence: lastTimestamp, firstTimestamp, metadata.creationTimestamp

0 commit comments

Comments
 (0)