From ccafeabf6a3a32ea619af2dd9b500d686a003bb7 Mon Sep 17 00:00:00 2001 From: Luke Amdor Date: Wed, 16 Apr 2025 17:59:47 -0500 Subject: [PATCH] docs: document timestamps option for logs --- docs/source/collect/logs.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/collect/logs.md b/docs/source/collect/logs.md index 2ce5361c..128b3552 100644 --- a/docs/source/collect/logs.md +++ b/docs/source/collect/logs.md @@ -66,6 +66,10 @@ The number of lines to include, starting from the newest. The maximum file size of a collected pod log. Defaults to an integer value of`5000000` bytes, which is 5MB. The value can only be set as an integer value for the `maxBytes` limit. +#### `timestamps` (Optional) +Include recorded timestamps in logs. +By default, this is set to `false`. + ## Example Collector Definition ```yaml @@ -95,6 +99,7 @@ spec: limits: maxLines: 1000 maxBytes: 5000000 + timestamps: true ```