logstash-plugins / logstash-integration-jdbc

Logstash Integration Plugin for JDBC, including Logstash Input and Filter Plugins
Apache License 2.0
53 stars 54 forks source link

Support remote location for last_run_metadata_path #161

Open Flixi555 opened 7 months ago

Flixi555 commented 7 months ago

Tracking the sql_last_value via the last_run_metadata_path parameter is tricky in a containerized Logstash setup unless some form of persistent storage is attached to the container, which in turn brings its own challenges and is simply not always possible to implement.

Allowing for remote locations of the stored metadata would make tracking the state possible in stateless instances of Logstash. I'm not exactly sure how this is best accomplished, but the first idea would be to store it in Elasticsearch.