doc: clarify log import behavior

This commit is contained in:
Jordan Wages 2025-07-18 00:05:31 -05:00
commit 3031865087

View file

@ -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. 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.