Courier 5 of 120 Shards Failed

Hi,

Courier 5 of 120 Shards Failed , what is the meaning of this?

Check your Elasticsearch logs, it should have more information.

Thank you so much for your reply.

this is what log file says . When I am trying to search. In Dev Tools my query works charm but when I try in Visualization my Query doesn't work

GET logstashupdate*/_search
{

  "query": {
    "match_all": {}
  },"size": 2000, 
  
  "script_fields": {
    "actionname_sleep":{
      "script": {
        "lang": "painless",
        "source":"def durationvalue= (doc['duration'].value);def actionsleep=doc['actionname.keyword'].value;if(actionsleep== 'Sleep'){ if(durationvalue>60) {return durationvalue}}else{return 0;}"
      }
    }
  }
}

OUTPUT:

Courier fetch 5 out 120 Shards Failed

[2018-04-30T10:22:10,152][DEBUG][o.e.a.s.TransportSearchAction] [_5xtPOM] [logstashupdate-2018.04.30][3], node[_5xtPOMES
veB4yEUX0vXtw], [P], s[STARTED], a[id=ZcDyfgMOQMiZhBDRn3ZmBg]: Failed to execute [SearchRequest{searchType=QUERY_THEN_FE
TCH, indices=[logstashupdate-2018.04.30], indicesOptions=IndicesOptions[id=39, ignore_unavailable=true, allow_no_indices
=true, expand_wildcards_open=true, expand_wildcards_closed=false, allow_aliases_to_multiple_indices=true, forbid_closed_
indices=true, ignore_aliases=false], types=[], routing='null', preference='1525097930790', requestCache=null, scroll=nul
l, maxConcurrentShardRequests=5, batchedReduceSize=512, preFilterShardSize=64, source={"size":0,"query":{"bool":{"must":
[{"match_all":{"boost":1.0}},{"range":{"enddatetime":{"from":1525096330079,"to":1525098130080,"include_lower":true,"incl
ude_upper":true,"format":"epoch_millis","boost":1.0}}}],"adjust_pure_negative":true,"boost":1.0}},"_source":{"includes":
[],"excludes":[]},"stored_fields":"*","docvalue_fields":["@timestamp","enddatetime","processenddatetime","processstartda
tetime","startdatetime"],"script_fields":{},"aggregations":{"2":{"terms":{"field":"duration","script":{"source":"def dur
ationvalue= (doc['duration'].value);def actionsleep=doc['actionname.keyword'].value;if(actionsleep== 'Sleep'){ if(durati
onvalue>60) {return durationvalue}}else{return 0;}","lang":"painless"},"size":5,"min_doc_count":1,"shard_min_doc_count":
0,"show_term_doc_count_error":false,"order":[{"_count":"desc"},{"_key":"asc"}]}}}}}]
org.elasticsearch.transport.RemoteTransportException: [_5xtPOM][10.81.20.229:9300][indices:data/read/search[phase/query]
]

Is there anything in the logs from 10.81.20.229?

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