Segmented Fetch: SearchPhaseExecutionException


(Sunil Chaudhari) #1

Hello I am using kibana 4 with ES 1.5.2.
When I start kibana and hit the url, I get below error. This does not happen if there is no index.
please guide on this.

Segmented Fetch: SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[PqBwI-RuTwayv4AUgcWnHQ][logstash-2015.09.04][0]: SearchParseException[[logstash-2015.09.04][0]: query[ConstantScore(BooleanFilter(+cache(@timestamp:[1441359550081 TO 1441360450082])))],from[-1],size[500],sort[<custom:"@timestamp": org.elasticsearch.index.fielddata.fieldcomparator.LongValuesComparatorSource@1e3ad19>!]: Parse Failure [Failed to parse source [{"size":500,"highlight":{"pre_tags":["@kibana-highlighted-field@"],"post_tags":["@/kibana-highlighted-field@"],"fields":{"":{}}},"query":{"filtered":{"query":{"query_string":{"query":""}},"filter":{"bool":{"must":[{"range":{"@timestamp":{"gte":1441359550081,"lte":1441360450082}}}],"must_not":[]}}}},"sort":{"@timestamp":"desc"},"aggs":{"2":{"date_histogram":{"field":"@timestamp","interval":"30000ms","min_doc_count":0,"extended_bounds":{"min":1441359550079,"max":1441360450079}}}},"fields":["","_source"],"script_fields":{"@timestamp":{"script":"if (doc["@timestamp"].value == 0) { null } else { doc["@timestamp"].value }"}}}]]]; nested: ScriptException[dynamic scripting for [groovy] disabled]; }{[PqBwI-RuTwayv4AUgcWnHQ][logstash-2015.09.04][1]: SearchParseException[[logstash-2015.09.04][1]: query[ConstantScore(BooleanFilter(+cache(@timestamp:[1441359550081 TO 1441360450082])))],from[-1],size[500],sort[<custom:"@timestamp": org.elasticsearch.index.fielddata.fieldcomparator.LongValuesComparatorSource@1f67cc4>!]: Parse Failure [Failed to parse source [{"size":500,"highlight":{"pre_tags":["@kibana-highlighted-field@"],"post_tags":["@/kibana-highlighted-field@"],"fields":{"":{}}},"query":{"filtered":{"query":{"query_string":{"query":""}},"filter":{"bool":{"must":[{"range":{"@timestamp":{"gte":1441359550081,"lte":1441360450082}}}],"must_not":[]}}}},"sort":{"@timestamp":"desc"},"aggs":{"2":{"date_histogram":{"field":"@timestamp","interval":"30000ms","min_doc_count":0,"extended_bounds":{"min":1441359550079,"max":1441360450079}}}},"fields":["","_source"],"script_fields":{"@timestamp":{"script":"if (doc["@timestamp"].value == 0) { null } else { doc["@timestamp"].value }"}}}]]]; nested: ScriptException[dynamic scripting for [groovy] disabled]; }{[PqBwI-RuTwayv4AUgcWnHQ][logstash-2015.09.04][2]: SearchParseException[[logstash-2015.09.04][2]: query[ConstantScore(BooleanFilter(+cache(@timestamp:[1441359550081 TO


(Mark Walkom) #2

That's the issue.


(system) #3