Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(logs): correct when imported logs expire in the loki import readme (#120842)

Jimmy Zhu3093591137ef
diff --git a/cli/src/experimental/logs/README.md b/cli/src/experimental/logs/README.md
index d91166e8ba30..c46e28a8c14e 100644
--- a/cli/src/experimental/logs/README.md
+++ b/cli/src/experimental/logs/README.md
@@ -144,5 +144,6 @@ longer or shorter retention than the default, and the import does not read them.
retention rules, logs that a longer rule would keep may still be skipped, and logs that a shorter
rule covers may be dropped at intake without a warning.
-Records that are kept take their retention from when they were imported, not from their own
-timestamp, so they expire the configured number of retention days after the import finishes.
+Records that are kept expire the retention period after their own timestamp, not after the import,
+so the oldest records expire first. A record keeps the retention that applied when it was imported,
+so lowering retention after the import does not shorten it.