I have an index that's been working fine for over 2 years. This evening, a query we do all the time, from a Kibana3 dashboard fails 100% of the time. Similar dashboard panel in Kibana4 is failing.
The cluster is: 2b12e0
And it's this index: activeusers-production
In Kibana we are summing across the active summary documents. Query fails when run in kibana of course, and you can cut/paste it into the Any Request tab targeting POST /activeusers-production/activesummary/_search
Error is:
"error": "SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[7i-mRfIfTk-KzwF-AgTsQg][activeusers-production][0]: RemoteTransportException[[instance-0000000071][inet[/172.17.0.13:19320]][indices:data/read/search[phase/query]]]; nested: QueryPhaseExecutionException[[activeusers-production][0]: query[ConstantScore(cache(_type:activesummary))],from[0],size[0]: Query Failed [Failed to execute global facets]]; nested: ElasticsearchException[java.lang.NumberFormatException: Invalid shift value (64) in prefixCoded bytes (is encoded value really an INT?)];
{
"facets": {
"0": {
"date_histogram": {
"key_field": "@timestamp",
"value_field": "1d_unique_clients",
"interval": "1d"
},
"global": true,
"facet_filter": {
"fquery": {
"query": {
"filtered": {
"query": {
"query_string": {
"query": "_type:activesummary AND steller_product_base:Steller"
}
},
"filter": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"from": 1459134116422,
"to": 1461726116423
}
}
}
]
}
}
}
}
}
}
},
"1": {
"date_histogram": {
"key_field": "@timestamp",
"value_field": "1d_unique_clients",
"interval": "1d"
},
"global": true,
"facet_filter": {
"fquery": {
"query": {
"filtered": {
"query": {
"query_string": {
"query": "_type:activesummary AND steller_product_base:Player"
}
},
"filter": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"from": 1459134116424,
"to": 1461726116424
}
}
}
]
}
}
}
}
}
}
},
"3": {
"date_histogram": {
"key_field": "@timestamp",
"value_field": "1d_unique_clients",
"interval": "1d"
},
"global": true,
"facet_filter": {
"fquery": {
"query": {
"filtered": {
"query": {
"query_string": {
"query": "_type:activesummary AND steller_product_base:StellerAndroid"
}
},
"filter": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"from": 1459134116424,
"to": 1461726116424
}
}
}
]
}
}
}
}
}
}
}
},
"size": 0
}