Hello folks,
I have a logstash pipeline that is using a jdbc input and is configured with a schedule (0/1 * * * *) and after change its schedule to any other schedule the following error starts to happen:
[2023-06-23T11:24:52,886][ERROR][logstash.javapipeline ][lxxxxxxxx] Pipeline error {:pipeline_id=>"lxxxxx", :exception=>#<Psych::DisallowedClass: Tried to load unspecified class: Time>
Even if I change it back to the original schedule (0/1 * * * *) it still not work and shows the same error.
I did a few tests regarding the logstash/data files and I noticed that if I remove the following file and restart the logstash process the pipeline starts to work again.
logstash/data/plugins/inputs/jdbc/logstash_jdbc_last_run
I was not able to reproduce this same behavior using a elasticsearch input. Here, changing the schedule works as expected.
My env:
Logstash version: 8.8.1
Install method: YUM
Could this be a bug?