Logstash scheduling for every one hour

Hi, EveryOne
how can i schedule logstash for every hour and for every 6 hours.......?

Regads
N Leena

It depends, What kind of inputs do you have?

jdbc input

Then use that input's schedule feature.

actually iam using schedule feature for evey one mintute ....
schedule => "* * * * *"
i dont know cron expression for every one hour .....can you tell me cron expression to schedule for every one hour or 6 hours

The notation used by the jdbc plugin is standard cron notation so you can find many examples online, e.g. this one: http://stackoverflow.com/questions/6423532/how-to-run-cron-job-every-2-hours

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