Does the jdbc_static loader run once upon logstash start or restart no matter the scheduler?

When you start up or restart logstash with a jdbc_static filter, does the loader automatically run once and then pick up the scheduler?

In other words if I have the scheduler set to run once a day at midnight, and I start logstash up at, say, 11:00. Will the loader run then to retrieve the table data and then wait for midnight for the next run.

My reading of the code is that it loads at startup and thereafter according to the schedule.

Thanks for the quick response Badger. As soon as I can get the test system stable, I'll give that filter a shot.

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