# Query in filter Kibana 6 after update not work

**URL:** https://discuss.elastic.co/t/query-in-filter-kibana-6-after-update-not-work/111017
**Category:** Kibana
**Created:** [December 11, 2017, 6:58am UTC](https://discuss.elastic.co/t/query-in-filter-kibana-6-after-update-not-work/111017 "2017-12-11T06:58:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![1862347ba9566e72a47d](https://avatars.discourse-cdn.com/v4/letter/1/cdc98d/32.png) [@1862347ba9566e72a47d](https://discuss.elastic.co/u/1862347ba9566e72a47d)
#### Post date: [December 11, 2017, 6:58am UTC](https://discuss.elastic.co/t/query-in-filter-kibana-6-after-update-not-work/111017/1 "2017-12-11T06:58:29Z")

</div>

In kibana 5.6, query(filter)

> ```
> {
> "query": {
> "query_string": {
> "analyze_wildcard": true,
> "fields": [
> "test.keyword"
> ],
> "query": "qwe OR qwerty"
> }
> }
> }
> 
> ```

work correctly. Shown correct results. After the update Kibana 6, the filter became

> {  
> "query": {  
> "query\_string": {  
> "analyze\_wildcard": true,  
> "fields": [  
> "http\_host.keyword"  
> ],  
> "query": "qwe OR qwerty",  
> **"default\_field": "\*"**  
> }  
> }  
> }

Now it does not work, because of the collision of two parameters in query _fields_ and _default\_field_.  
It is added by default, re-saving without this parameter does not help.

---

<div class="post-metadata">

### Author: ![Stacey\_Gammon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stacey_gammon/32/14025_2.png) [@Stacey\_Gammon](https://discuss.elastic.co/u/Stacey_Gammon)
#### Post date: [December 11, 2017, 4:40pm UTC](https://discuss.elastic.co/t/query-in-filter-kibana-6-after-update-not-work/111017/2 "2017-12-11T16:40:54Z")

</div>

Looks like this might be a legit issue. I have filed [https://github.com/elastic/kibana/issues/15527](https://github.com/elastic/kibana/issues/15527) for our discovery team to look into.

---

<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: [January 8, 2018, 4:40pm UTC](https://discuss.elastic.co/t/query-in-filter-kibana-6-after-update-not-work/111017/3 "2018-01-08T16:40:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
