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.