I'm using Elasticsearch input plugin in logstash to query the Elastic data. But I'm getting the below error
Ignoring clear_scroll exception {:message=>"[404] {\"succeeded\":true,\"num_freed\":0}", :exception=>Elasticsearch::Transport::Transport::Errors::NotFound}
Logstash's input configuration looks like the below
input
{
elasticsearch
{
hosts => ["host:port"]
index => "sample_index"
ssl => true
ca_file => "certificate.cer"
user => "abcd"
password => "*********"
schedule => "27 20 * * *"
query => '{
"query": {
"bool": {
"filter": [
{
"range": {
"begin": {
"format": "strict_date_optional_time",
"gte": "now-3d",
"lte": "now"
}
}
}
]
}
}
}'
}
}
Please help to get this issue resolved