Skip to content

Instantly share code, notes, and snippets.

@MartinAyla
Created October 2, 2014 13:11
Show Gist options
  • Save MartinAyla/e5f244488b16c15b745d to your computer and use it in GitHub Desktop.
Save MartinAyla/e5f244488b16c15b745d to your computer and use it in GitHub Desktop.
(You caused a org.graylog2.restclient.lib.APIException. API call failed GET http://@127.0.0.1:12900/search/universal/relative/histogram?interval=minute&query=gl2_source_input:53610d12e4b06f4350edb9e6&range=28800&range_type=relative&filter=* returned 500 Internal Server Error body: Failed to execute phase [query], all shards failed; shardFailures {[Bbeo-WxgS2uflTRJtCBLDw][graylog2_0][0]: RemoteTransportException[[Radius][inet[/10.0.0.19:9300]][search/phase/query]]; nested: SearchParseException[[graylog2_0][0]: query[gl2_source_input:53610d12e4b06f4350edb9e6],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"gl2_source_input:53610d12e4b06f4350edb9e6","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-04-30 06:59:36.540","to":"2014-04-30 14:59:36.540","include_lower":true,"include_upper":true}}}}}}}}]]]; nested: ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]; }{[Bbeo-WxgS2uflTRJtCBLDw][graylog2_0][2]: RemoteTransportException[[Radius][inet[/10.0.0.19:9300]][search/phase/query]]; nested: SearchParseException[[graylog2_0][2]: query[gl2_source_input:53610d12e4b06f4350edb9e6],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"gl2_source_input:53610d12e4b06f4350edb9e6","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-04-30 06:59:36.540","to":"2014-04-30 14:59:36.540","include_lower":true,"include_upper":true}}}}}}}}]]]; nested: ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]; }{[Bbeo-WxgS2uflTRJtCBLDw][graylog2_0][3]: RemoteTransportException[[Radius][inet[/10.0.0.19:9300]][search/phase/query]]; nested: SearchParseException[[graylog2_0][3]: query[gl2_source_input:53610d12e4b06f4350edb9e6],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"gl2_source_input:53610d12e4b06f4350edb9e6","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-04-30 06:59:36.540","to":"2014-04-30 14:59:36.540","include_lower":true,"include_upper":true}}}}}}}}]]]; nested: ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]; }{[Bbeo-WxgS2uflTRJtCBLDw][graylog2_0][1]: RemoteTransportException[[Radius][inet[/10.0.0.19:9300]][search/phase/query]]; nested: SearchParseException[[graylog2_0][1]: query[gl2_source_input:53610d12e4b06f4350edb9e6],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"gl2_source_input:53610d12e4b06f4350edb9e6","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-04-30 06:59:36.540","to":"2014-04-30 14:59:36.540","include_lower":true,"include_upper":true}}}}}}}}]]]; nested: ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]; } org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query], all shards failed; shardFailures {[Bbeo-WxgS2uflTRJtCBLDw][graylog2_0][0]: RemoteTransportException[[Radius][inet[/10.0.0.19:9300]][search/phase/query]]; nested: SearchParseException[[graylog2_0][0]: query[gl2_source_input:53610d12e4b06f4350edb9e6],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"gl2_source_input:53610d12e4b06f4350edb9e6","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-04-30 06:59:36.540","to":"2014-04-30 14:59:36.540","include_lower":true,"include_upper":true}}}}}}}}]]]; nested: ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]; }{[Bbeo-WxgS2uflTRJtCBLDw][graylog2_0][2]: RemoteTransportException[[Radius][inet[/10.0.0.19:9300]][search/phase/query]]; nested: SearchParseException[[graylog2_0][2]: query[gl2_source_input:53610d12e4b06f4350edb9e6],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"gl2_source_input:53610d12e4b06f4350edb9e6","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-04-30 06:59:36.540","to":"2014-04-30 14:59:36.540","include_lower":true,"include_upper":true}}}}}}}}]]]; nested: ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]; }{[Bbeo-WxgS2uflTRJtCBLDw][graylog2_0][3]: RemoteTransportException[[Radius][inet[/10.0.0.19:9300]][search/phase/query]]; nested: SearchParseException[[graylog2_0][3]: query[gl2_source_input:53610d12e4b06f4350edb9e6],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"gl2_source_input:53610d12e4b06f4350edb9e6","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-04-30 06:59:36.540","to":"2014-04-30 14:59:36.540","include_lower":true,"include_upper":true}}}}}}}}]]]; nested: ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]; }{[Bbeo-WxgS2uflTRJtCBLDw][graylog2_0][1]: RemoteTransportException[[Radius][inet[/10.0.0.19:9300]][search/phase/query]]; nested: SearchParseException[[graylog2_0][1]: query[gl2_source_input:53610d12e4b06f4350edb9e6],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"gl2_source_input:53610d12e4b06f4350edb9e6","allow_leading_wildcard":false}},"facets":{"histogram":{"date_histogram":{"field":"timestamp","interval":"minute"},"facet_filter":{"bool":{"must":{"range":{"timestamp":{"from":"2014-04-30 06:59:36.540","to":"2014-04-30 14:59:36.540","include_lower":true,"include_upper":true}}}}}}}}]]]; nested: ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]; } at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:272) at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$3.onFailure(TransportSearchTypeAction.java:224) at org.elasticsearch.search.action.SearchServiceTransportAction$4.handleException(SearchServiceTransportAction.java:222) at org.elasticsearch.transport.netty.MessageChannelHandler.handleException(MessageChannelHandler.java:181) at org.elasticsearch.transport.netty.MessageChannelHandler.handlerResponseError(MessageChannelHandler.java:171) at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:123) at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:296) at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462) at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443) at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303) at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment