How can i schedule logstash every two hours for jdbc input plugin?

How can i schedule logstash every two hours for jdbc input plugin?

What's your need exactly ?

You should maybe take a look at cron actin on linux

Good luck

The Logstash JDBC input has scheduling built into it see here

Hi!

You could use something like this. (0 */2 * * *)

Regards,
Alexandre

This expression not repeating every 2 hours

Hi Guys,

0 0 */2 * * * is worked for me.

Thanks,
Sree

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