From 30318650872cdd9722d9ec6d916701f0f6d90f1c Mon Sep 17 00:00:00 2001 From: Jordan Wages Date: Fri, 18 Jul 2025 00:05:31 -0500 Subject: [PATCH] doc: clarify log import behavior --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 9c370c9..b9a4dbb 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,8 @@ Use the `run-import.sh` script to set up the Python environment if needed and im ``` This script is suitable for cron jobs as it creates the virtual environment on first run, installs dependencies and reuses the environment on subsequent runs. + +The importer handles rotated logs in order from oldest to newest so entries are +processed exactly once. If you rerun the script, it only ingests records with a +timestamp newer than the latest one already stored in the database, preventing +duplicates. -- 2.47.2