Hopefully someone will be able to help with this as it is driving me mad at the moment!
I have successfully managed to load 2.8m records into an elasticsearch cluster using sql server as the source. I am now trying to copy the data from one index to a new index. If i try and use elasticsearch input i get a generic error of:
Error: [400] {"error":{"root_cause":[{"type":"action_request_validation_except
ion","reason":"Validation Failed: 1: scrollId is missing;"}],"type":"action_requ
est_validation_exception","reason":"Validation Failed: 1: scrollId is missing;"}
I have tried various setting but i have been unable to get an input working for logshash using elasticsearch as the input even if i use a match_all query. The input i am using at the moment is:
input {
elasticsearch {
hosts => "localhost"
query => ' "fields": [
"screendataid",
"accountid",
"feedtypeid",
"sourceid",
"externalfeedid",
"url",
"title",
"description",
"screenhtml",
"screentext",
"articledate",
"createddate",
"rowversion",
"translatorlanguagecodeid",
"tweetdataid",
"articleimageid",
"urlhash",
"externalfeedidhash",
"expirydate",
"removaldate",
"displaydomain"
],
"query": {
"match": {
"_index": "screendata"
}
},
"filter": {
"term": {
"accountid": "3"
}
}'
}
}
Am I just missing something?