Logstash, jdbc and .logstash_jdbc_last_run

In all my cases I do not want to use .logstash_jdbc_last_run

how do I avoid using it.
I uses following option but it still try to use .logstash_jdbc_last_run and fails sometime when two or more jdbc trying to use that.

clean_run=>true

I don't want to use .logstash_jdbc_last_run

anyone ?

Then set record_last_run to false.

If you want to use .logstash_jdbc_last_run in multiple inputs you will need to set last_run_metadata_path to point each input to its own file.

1 Like

Perefect. I had 15 pipeline on a system and each was using jdbc. and one or two was failing due to this reason.

Added record_last_run=>false for all and restarted logstash. Everything started up.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.