Is there any way to save the state of the logs in Logstash JDBC input plugin?
For example, for file input plugin, there is sincedb_path
which remembers where it left off from reading the logs.
Is there any way to save the state of the logs in Logstash JDBC input plugin?
For example, for file input plugin, there is sincedb_path
which remembers where it left off from reading the logs.
Yes, the jdbc input can persist state.
I'm not sure what value to include for sql_last_value as JDBC state. Coud you please clarify this?
Look at the documentation for the tracking_column, tracking_column_type and use_column_value on the jdbc input. If you search in this forum you will find many examples of people using them.
Thank you!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.