Skip to content

Instantly share code, notes, and snippets.

@Bargs
Created August 9, 2016 18:39
Show Gist options
  • Save Bargs/cc4405cba7105a2c8eea68a26ce15613 to your computer and use it in GitHub Desktop.
Save Bargs/cc4405cba7105a2c8eea68a26ce15613 to your computer and use it in GitHub Desktop.
Error: Request to Elasticsearch failed: {"error":{"root_cause":[{"type":"exception","reason":"java.util.concurrent.ExecutionException: AggregationExecutionException[Invalid terms aggregation order path [1]. Terms buckets can only be sorted on a sub-aggregator path that is built out of zero or more single-bucket aggregations within the path and a final single-bucket or a metrics aggregation at the path end.]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query_fetch","grouped":true,"failed_shards":[{"shard":0,"index":"logstash-0","node":"00s71MPnSRenvz6mflLQeQ","reason":{"type":"exception","reason":"java.util.concurrent.ExecutionException: AggregationExecutionException[Invalid terms aggregation order path [1]. Terms buckets can only be sorted on a sub-aggregator path that is built out of zero or more single-bucket aggregations within the path and a final single-bucket or a metrics aggregation at the path end.]","caused_by":{"type":"execution_exception","reason":"AggregationExecutionException[Invalid terms aggregation order path [1]. Terms buckets can only be sorted on a sub-aggregator path that is built out of zero or more single-bucket aggregations within the path and a final single-bucket or a metrics aggregation at the path end.]","caused_by":{"type":"aggregation_execution_exception","reason":"Invalid terms aggregation order path [1]. Terms buckets can only be sorted on a sub-aggregator path that is built out of zero or more single-bucket aggregations within the path and a final single-bucket or a metrics aggregation at the path end."}}}}],"caused_by":{"type":"exception","reason":"java.util.concurrent.ExecutionException: AggregationExecutionException[Invalid terms aggregation order path [1]. Terms buckets can only be sorted on a sub-aggregator path that is built out of zero or more single-bucket aggregations within the path and a final single-bucket or a metrics aggregation at the path end.]","caused_by":{"type":"execution_exception","reason":"AggregationExecutionException[Invalid terms aggregation order path [1]. Terms buckets can only be sorted on a sub-aggregator path that is built out of zero or more single-bucket aggregations within the path and a final single-bucket or a metrics aggregation at the path end.]","caused_by":{"type":"aggregation_execution_exception","reason":"Invalid terms aggregation order path [1]. Terms buckets can only be sorted on a sub-aggregator path that is built out of zero or more single-bucket aggregations within the path and a final single-bucket or a metrics aggregation at the path end."}}}},"status":500}
at https://localhost:5601/fti/bundles/kibana.bundle.js?v=8467:78899:37
at Function.Promise.try (https://localhost:5601/fti/bundles/commons.bundle.js?v=8467:64738:21)
at Array.map (native)
at Function.Promise.map (https://localhost:5601/fti/bundles/commons.bundle.js?v=8467:64706:29)
at processQueue (https://localhost:5601/fti/bundles/commons.bundle.js?v=8467:37071:29)
at https://localhost:5601/fti/bundles/commons.bundle.js?v=8467:37087:28
at Scope.$digest (https://localhost:5601/fti/bundles/commons.bundle.js?v=8467:38126:32)
at Scope.$apply (https://localhost:5601/fti/bundles/commons.bundle.js?v=8467:38423:25)
at done (https://localhost:5601/fti/bundles/commons.bundle.js?v=8467:32872:48)
at completeRequest (https://localhost:5601/fti/bundles/commons.bundle.js?v=8467:33070:8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment