# Bettermap query failure?

**URL:** <https://discuss.elastic.co/t/bettermap-query-failure/21886>\
**Category:** Elasticsearch\
**Created:** [January 28, 2015, 7:42pm UTC](https://discuss.elastic.co/t/bettermap-query-failure/21886 "2015-01-28T19:42:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slee](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@slee](https://discuss.elastic.co/u/slee)\
**Post date:** [January 28, 2015, 7:42pm UTC](https://discuss.elastic.co/t/bettermap-query-failure/21886/1 "2015-01-28T19:42:26Z")

</div>

Hello, I have an instance of ELK stood up but I've been running into an error. Whenever I try to use the bettermap widget, I get an error in the Elasticsearch logs. This only happens when I use bettermap, I am able to load tables and graphs just fine. The error message seems to be generic, can anybody make sense what is going on?

[Cordelia Frost] [sefapp-2015.01.28][2], node[HHjIKiPXT-CDD9ARWHpPyg], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@25583095] lastShard [true]  
org.elasticsearch.search.SearchParseException: [sefapp-2015.01.28][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"filtered":{"query":{"bool":{"should":[{"query\_string":{"query":"\*"}}]}},"filter":{"bool":{"must":[{"range":{"@timestamp":{"from":1419881463441,"to":1422473463441}}},{"exists":{"field":null}}]}}}},"fields":[null,"\_id"],"size":1000,"sort":[{"@timestamp":{"order":"desc"}}]}]]  
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:681)  
at org.elasticsearch.search.SearchService.createContext(SearchService.java:537)  
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:509)  
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:264)  
at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)  
at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)  
at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)  
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: org.elasticsearch.index.query.QueryParsingException: [sefapp-2015.01.28] exists must be provided with a [field]  
at org.elasticsearch.index.query.ExistsFilterParser.parse(ExistsFilterParser.java:79)  
at org.elasticsearch.index.query.QueryParseContext.executeFilterParser(QueryParseContext.java:343)  
at org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:324)  
at org.elasticsearch.index.query.BoolFilterParser.parse(BoolFilterParser.java:92)  
at org.elasticsearch.index.query.QueryParseContext.executeFilterParser(QueryParseContext.java:343)  
at org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:324)  
at org.elasticsearch.index.query.FilteredQueryParser.parse(FilteredQueryParser.java:74)  
at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:277)  
at org.elasticsearch.index.query.IndexQueryParserService.innerParse(IndexQueryParserService.java:382)  
at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:281)  
at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:276)  
at org.elasticsearch.search.query.QueryParseElement.parse(QueryParseElement.java:33)  
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:665)  
... 9 more

---

<div class="post-metadata">

**Author:** ![slee](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@slee](https://discuss.elastic.co/u/slee)\
**Post date:** [January 28, 2015, 8:30pm UTC](https://discuss.elastic.co/t/bettermap-query-failure/21886/2 "2015-01-28T20:30:27Z")

</div>

Nevermind, I forgot to specify the coordinates field in the bettermap panel configuration

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:36am UTC](https://discuss.elastic.co/t/bettermap-query-failure/21886/3 "2017-07-06T00:36:05Z")

</div>

Closed on July 6, 2017, 12:36am UTC


