# Filter Editor do not suggest new value

**URL:** <https://discuss.elastic.co/t/filter-editor-do-not-suggest-new-value/136711>\
**Category:** Kibana\
**Created:** [June 20, 2018, 2:06pm UTC](https://discuss.elastic.co/t/filter-editor-do-not-suggest-new-value/136711 "2018-06-20T14:06:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![florentmair](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@florentmair](https://discuss.elastic.co/u/florentmair)\
**Post date:** [June 20, 2018, 2:06pm UTC](https://discuss.elastic.co/t/filter-editor-do-not-suggest-new-value/136711/1 "2018-06-20T14:06:56Z")

</div>

Hi all,

the filter editor doesn't suggest a new value.

and it's not working with several fields like beat.hostname.keyword or fields.instance.keyword.

when i search with this command, it's OK, i have the 3 value expected:

```
GET my_index/_search 
{
    "aggs" : {
		"uniq_message" : {
			"terms" : { "field" : "fields.instance.keyword" }
		}
	}  
} 

```

any idea ?  
we are running on 6.2.3

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [June 20, 2018, 4:01pm UTC](https://discuss.elastic.co/t/filter-editor-do-not-suggest-new-value/136711/2 "2018-06-20T16:01:56Z")

</div>

Hmm... Do you see any errors in the developer console? Do you get results from the following query?

```auto
GET my_index/_search
{
  "size": 0,
  "timeout": "1s",
  "terminate_after": 100000,
  "aggs": {
    "suggestions": {
      "terms": {
        "field": "fields.instance.keyword",
        "execution_hint": "map",
        "shard_size": 10
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![florentmair](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@florentmair](https://discuss.elastic.co/u/florentmair)\
**Post date:** [June 20, 2018, 4:27pm UTC](https://discuss.elastic.co/t/filter-editor-do-not-suggest-new-value/136711/3 "2018-06-20T16:27:27Z")

</div>

Hi @lukas

Well with your query i have only 2 suggestion, i didn't see any error in the developer console

```
{
  "took": 56,
  "timed_out": false,
  "terminated_early": true,
  "_shards": {
    "total": 6,
    "successful": 6,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": 600000,
    "max_score": 0,
    "hits": []
  },
  "aggregations": {
    "suggestions": {
      "doc_count_error_upper_bound": 0,
      "sum_other_doc_count": 0,
      "buckets": [
        {
          "key": "NX",
          "doc_count": 597840
        },
        {
          "key": "OLD",
          "doc_count": 2160
        }
      ]
    }
  }
}
```

---

<div class="post-metadata">

**Author:** ![florentmair](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@florentmair](https://discuss.elastic.co/u/florentmair)\
**Post date:** [June 20, 2018, 4:34pm UTC](https://discuss.elastic.co/t/filter-editor-do-not-suggest-new-value/136711/4 "2018-06-20T16:34:36Z")

</div>

just for information if i remove "terminate\_after" i have all the results expected

```
{
  "took": 85,
  "timed_out": false,
  "_shards": {
    "total": 6,
    "successful": 6,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": 1678024,
    "max_score": 0,
    "hits": []
  },
  "aggregations": {
    "suggestions": {
      "doc_count_error_upper_bound": 0,
      "sum_other_doc_count": 0,
      "buckets": [
        {
          "key": "NX",
          "doc_count": 1666824
        },
        {
          "key": "PCE",
          "doc_count": 8652
        },
        {
          "key": "OLD",
          "doc_count": 2548
        }
      ]
    }
  }
}
```

---

<div class="post-metadata">

**Author:** ![florentmair](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@florentmair](https://discuss.elastic.co/u/florentmair)\
**Post date:** [June 22, 2018, 1:01pm UTC](https://discuss.elastic.co/t/filter-editor-do-not-suggest-new-value/136711/5 "2018-06-22T13:01:28Z")

</div>

Hi @lukas

have you an idea about this problem ?

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [June 28, 2018, 5:24pm UTC](https://discuss.elastic.co/t/filter-editor-do-not-suggest-new-value/136711/6 "2018-06-28T17:24:02Z")

</div>

@florentmair We put in safeguards when sending the query for suggestions so that users can't take down an entire elasticsearch cluster, which is why you see `terminate_after` and `timeout` in there. Unfortunately there isn't a way at the moment to manually configure those settings.

---

<div class="post-metadata">

**Author:** ![florentmair](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@florentmair](https://discuss.elastic.co/u/florentmair)\
**Post date:** [July 13, 2018, 11:44am UTC](https://discuss.elastic.co/t/filter-editor-do-not-suggest-new-value/136711/7 "2018-07-13T11:44:52Z")

</div>

after severals days the new value was suggested. Today we have put a new value and the issue still occurs.

Monday, i have upgraded the Elastic Stack to 6.3.0.  
What can i do now ?

---

<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:** [August 10, 2018, 11:44am UTC](https://discuss.elastic.co/t/filter-editor-do-not-suggest-new-value/136711/8 "2018-08-10T11:44:53Z")

</div>

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