我有点怀疑你在刷屏

ES2.4.2后台一直报marvel 索引的错误

Elasticsearch | 作者 shandian811 | 发布于2017年11月30日 | 阅读数:988

[2017-11-30 14:30:24,226][DEBUG][action.search            ] [es_node1-0] All shards failed for phase: [query]
RemoteTransportException[[es_node5-2][192.168.33.3:9500][indices:data/read/search[phase/query]]]; nested: SearchParseException[failed to parse search source [{"sort":{"timestamp":{"order":"desc"}},"query":{"filtered":{"filter":{"bool":{"must":[{"term":{"cluster_uuid":"IE9vNlo2RJqww9LSzJeNsA"}},{"term":{}}]}}}},"aggs":{"indices":{"terms":{"field":"shard.index","size":10000},"aggs":{"states":{"terms":{"field":"shard.state","size":10},"aggs":{"primary":{"terms":{"field":"shard.primary","size":10}}}}}},"nodes":{"terms":{"field":"source_node.transport_address","size":10000},"aggs":{"index_count":{"cardinality":{"field":"shard.index"}},"node_names":{"terms":{"field":"source_node.name","size":10},"aggs":{"max_timestamp":{"max":{"field":"timestamp"}}}},"node_transport_address":{"terms":{"field":"source_node.transport_address","size":10},"aggs":{"max_timestamp":{"max":{"field":"timestamp"}}}},"node_data_attributes":{"terms":{"field":"source_node.attributes.data","size":10}},"node_master_attributes":{"terms":{"field":"source_node.attributes.master","size":10}},"node_ids":{"terms":{"field":"source_node.uuid","size":10}}}}}}]]; nested: QueryParsingException[No value specified for term query];
Caused by: SearchParseException[failed to parse search source [{"sort":{"timestamp":{"order":"desc"}},"query":{"filtered":{"filter":{"bool":{"must":[{"term":{"cluster_uuid":"IE9vNlo2RJqww9LSzJeNsA"}},{"term":{}}]}}}},"aggs":{"indices":{"terms":{"field":"shard.index","size":10000},"aggs":{"states":{"terms":{"field":"shard.state","size":10},"aggs":{"primary":{"terms":{"field":"shard.primary","size":10}}}}}},"nodes":{"terms":{"field":"source_node.transport_address","size":10000},"aggs":{"index_count":{"cardinality":{"field":"shard.index"}},"node_names":{"terms":{"field":"source_node.name","size":10},"aggs":{"max_timestamp":{"max":{"field":"timestamp"}}}},"node_transport_address":{"terms":{"field":"source_node.transport_address","size":10},"aggs":{"max_timestamp":{"max":{"field":"timestamp"}}}},"node_data_attributes":{"terms":{"field":"source_node.attributes.data","size":10}},"node_master_attributes":{"terms":{"field":"source_node.attributes.master","size":10}},"node_ids":{"terms":{"field":"source_node.uuid","size":10}}}}}}]]; nested: QueryParsingException[No value specified for term query];
        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:873)
        at org.elasticsearch.search.SearchService.createContext(SearchService.java:667)
        at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:633)
        at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:377)
        at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:368)
        at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:365)
        at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33)
        at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:77)
        at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.doRun(MessageChannelHandler.java:293)
        at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
        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)
Caused by: [.marvel-es-1-2017.11.30] QueryParsingException[No value specified for term query]
        at org.elasticsearch.index.query.TermQueryParser.parse(TermQueryParser.java:108)
        at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:250)
        at org.elasticsearch.index.query.BoolQueryParser.parse(BoolQueryParser.java:114)
        at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:250)
        at org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:263)
        at org.elasticsearch.index.query.FilteredQueryParser.parse(FilteredQueryParser.java:79)
        at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:250)
        at org.elasticsearch.index.query.IndexQueryParserService.innerParse(IndexQueryParserService.java:324)
        at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:224)
        at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:219)
        at org.elasticsearch.search.query.QueryParseElement.parse(QueryParseElement.java:33)
        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:856)
        ... 12 more
 
后台日志一直弹这个,请问是什么原因,ip:5601访问正常
已邀请:

wyntergreg

赞同来自:

QueryParsingException[No value specified for term query]

wyntergreg

赞同来自:

    "query": {
"filtered": {
"filter": {
"bool": {
"must": [
{
"term": {
"cluster_uuid": "IE9vNlo2RJqww9LSzJeNsA"
}
},
{
"term": {}
}
]
}
}
}
},
 
 
 
这个term是?

要回复问题请先登录注册