syslog-ng Premium Edition 6.0.21 - Administration Guide

Preface Chapter 1. Introduction to syslog-ng Chapter 2. The concepts of syslog-ng Chapter 3. Installing syslog-ng Chapter 4. The syslog-ng PE quick-start guide Chapter 5. The syslog-ng PE configuration file Chapter 6. Collecting log messages — sources and source drivers Chapter 7. Sending and storing log messages — destinations and destination drivers Chapter 8. Routing messages: log paths, reliability, and filters Chapter 9. Global options of syslog-ng PE Chapter 10. TLS-encrypted message transfer Chapter 12.  Reliable Log Transfer Protocol™ Chapter 13. Reliability and minimizing the loss of log messages Chapter 14. Manipulating messages Chapter 15. Parsing and segmenting structured messages Chapter 16. Processing message content with a pattern database Chapter 17. Statistics and metrics of syslog-ng Chapter 18. Multithreading and scaling in syslog-ng PE Chapter 19. Troubleshooting syslog-ng Chapter 20. Best practices and examples

read-old-records()

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)
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating