From 823c2feeab546b853542562eb4cfe67574e8788f Mon Sep 17 00:00:00 2001 From: ryanohnemus Date: Fri, 15 Dec 2023 15:24:15 -0600 Subject: [PATCH 1/2] in_kubernetes_events: add timestamp_key documentation Signed-off-by: ryanohnemus --- pipeline/inputs/kubernetes-events.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pipeline/inputs/kubernetes-events.md b/pipeline/inputs/kubernetes-events.md index 93b33695f..44bbe6d40 100644 --- a/pipeline/inputs/kubernetes-events.md +++ b/pipeline/inputs/kubernetes-events.md @@ -24,6 +24,7 @@ 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. | $metadata['creationTimestamp'] | | 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. | | From 60d0670099ad85d587c259fc4499cf4dcdb38796 Mon Sep 17 00:00:00 2001 From: ryanohnemus Date: Thu, 21 Dec 2023 17:01:45 -0600 Subject: [PATCH 2/2] set default timestamp_key documentation to the new default $lastTimestamp Signed-off-by: ryanohnemus --- pipeline/inputs/kubernetes-events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/inputs/kubernetes-events.md b/pipeline/inputs/kubernetes-events.md index 44bbe6d40..b99537fe1 100644 --- a/pipeline/inputs/kubernetes-events.md +++ b/pipeline/inputs/kubernetes-events.md @@ -24,7 +24,7 @@ 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. | $metadata['creationTimestamp'] | +| 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. | |