Sheduling logstash to run daily

I'm planning to implement a java based REST service which will run logstash on a daily basis on my log files. How can I achieve that?

Just run Logstash as a service, why would you do something like a daily running?

I need to read log files daily at a specific time of the day. And I have to analyze those log file data read by logstash by using a java based REST service. And the log files are located at a remote location. So how can I achieve this sheduling?

Use crontab?
You will have to start and stop the service I guess.

Great. Thanks. Yes. I have to start, run analysis on logs and stop the service at a specific time daily.

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