As visible in the screenshot for 1-minute duration, the data is queried multiple times. I wish to disable this and for a schedule "* * * * *" collect data only once in 1 minute. My current config for logstash input plugin is as follows:
input {
elasticsearch {
hosts => "http://localhost:9200"
index => "*-prod-*"
docinfo => true
query => '{
"query": {
"bool": {
"filter": {
"range": {
"@timestamp": {
"gte": "now-1m"
}
}
}
}
}
}'
schedule => "* * * * *"
}
}