I see the message further below in the elastic search logfile:
Can someone tell what is wrong?
Regards HansP
[2014-04-28 11:02:44,612][DEBUG][action.search.type ] [u3060p]
[kibana-int][0], node[8LhzSgxJSf2RxW9wFgxBLA], [P], s[STARTED]: Failed to
execute [org.elasticsearch.action.search.SearchRequest@1bae4d4f] lastShard
[true]
org.elasticsearch.search.SearchParseException: [kibana-int][0]:
query[filtered(ConstantScore(:))->BooleanFilter(+:
+cache(@timestamp:[1398654164260 TO now])
+BooleanFilter(+:))],from[-1],size[500]: Parse Failure [Failed to parse
source
[{"query":{"filtered":{"query":{"bool":{"should":[{"query_string":{"query":""}}]}},"filter":{"bool":{"must":[{"match_all":{}},{"range":{"@timestamp":{"from":1398654164260,"to":"now"}}},{"bool":{"must":[{"match_all":{}}]}}]}}}},"highlight":{"fields":{},"fragment_size":2147483647,"pre_tags":["@start-highlight@"],"post_tags":["@end-highlight@"]},"size":500,"sort":[{"@timestamp":{"order":"desc"}}]}]]
at
org.elasticsearch.search.SearchService.parseSource(SearchService.java:595)
at
org.elasticsearch.search.SearchService.createContext(SearchService.java:498)
at
org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:472)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:244)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:202)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:216)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:203)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:186)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: org.elasticsearch.search.SearchParseException: [kibana-int][0]:
query[filtered(ConstantScore(:))->BooleanFilter(+:*
+cache(@timestamp:[1398654164260 TO now])
+BooleanFilter(+:))],from[-1],size[500]: Parse Failure [No mapping found
for [@timestamp] in order to sort on]
at
org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:198)
at
org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:172)
at
org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:80)
at
org.elasticsearch.search.SearchService.parseSource(SearchService.java:583)
... 11 more
the problem is, that you are trying to search over all indices. One of
those indices contains your kibana dashboards - which is just fine. However
that index (named kibana-int) does not contain a timestamp field.
The most simple solution might be, to change your search to not search in
that index or only include the indices you want to search in.
Goto your dashboard->settings->index and replace [_all] with [logstash*]
Firass
On Monday, May 5, 2014 1:18:18 PM UTC+3, Alexander Reelsen wrote:
Hey,
the problem is, that you are trying to search over all indices. One of
those indices contains your kibana dashboards - which is just fine. However
that index (named kibana-int) does not contain a timestamp field.
The most simple solution might be, to change your search to not search in
that index or only include the indices you want to search in.
--Alex
On Tue, Apr 29, 2014 at 8:47 AM, HansPeterSloot <hanspet...@gmail.com<javascript:>
wrote:
Well I am using elasticsearch as a logstash repository.
Can you give me a curl statement to check whether there are indexes
without @timestamp?
Op maandag 28 april 2014 15:45:05 UTC+2 schreef Binh Ly:
Is it possible that one of in the indexes you're querying against does
not have the field @timestamp?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.