Elasticsearch Input Plugin on Timer

(Corey Pentasuglia) #1

Is it possible to have the Elasticsearch input plugin fire on a timer? Ex. I would like it to fire once every hour. Or would I have to orchestrate this somehow outside of Logstash?


(Jimmy Kuang) #2

What do you want to do during / after the timer fires?

(Corey Pentasuglia) #3

Thanks for the response! I want to query ES using an aggregation search, and then place that aggregated data back into ES. Possibly event a different index that holds the aggregates. I'd like to do this once every hour.

I guess I struggle to see the flow of the ES input plugin now? When / how often does it typically run?

(Jimmy Kuang) #4

The only way I can think of is to use a cron job / like applications to achieve this

How to run the schedule every five minutes in Logstash 5.0?.

(system) #5

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