Logstash input elasticsearch - Scheduling

I'm trying to follow Elasticsearch input plugin | Logstash Reference (Scheduling).

Let's say, following is part of my input (elasticsearch):

input {
  elasticsearch {
    hosts => "localhost"
    query => '{ "query": { "match": { "statuscode": 200 } }, "sort": [ "_doc" ] }'
  }
}

where would I insert:

0 * * * *

Please advise.

In the schedule option, at the same level as hosts.

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