Type: yes|no
Default: yes

Description:

  • If syslog-ng PE reads the database for the first time:
    • If set to yes, syslog-ng PE starts reading the records from the beginning of the database.
    • If set to no, syslog-ng PE only reads the new records in the database.
  • If syslog-ng PE has read the database before: If syslog-ng PE has read the database before, the read-old-records() option has created a persist entry during the first reading.

    • If set to yes, syslog-ng PE reads the last_read_uid from the persist file, and reads every record from the sql table where the uid is greater than the last_read_uid. Next, syslog-ng PE starts polling the database and updates the last_read_uid with the most recent uid from the database.

    • If set to no, syslog-ng PE first runs a select max(uid) SQL query for the table, then updates the last_read_uid with the value from the SQL query. After that, syslog-ng PE starts polling the database, starting from this updated last_read_uid value.

(missing or bad snippet)