# Saved "field" parameter is now invalid. Please select a new field

**URL:** https://discuss.elastic.co/t/saved-field-parameter-is-now-invalid-please-select-a-new-field/71044
**Category:** Kibana
**Created:** [January 10, 2017, 9:42am UTC](https://discuss.elastic.co/t/saved-field-parameter-is-now-invalid-please-select-a-new-field/71044 "2017-01-10T09:42:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![xy\_xin](https://avatars.discourse-cdn.com/v4/letter/x/ba9def/32.png) [@xy\_xin](https://discuss.elastic.co/u/xy_xin)
#### Post date: [January 10, 2017, 9:42am UTC](https://discuss.elastic.co/t/saved-field-parameter-is-now-invalid-please-select-a-new-field/71044/1 "2017-01-10T09:42:47Z")

</div>

Hi guys, i'm a newbee on elasticsearch. When i start to "Discover" my new created index, i encountered the problem which shows,

Saved "field" parameter is now invalid. Please select a new field.  
Discover: "field" is a required parameter

The details:

TypeError: "field" is a required parameter  
at FieldAggParamFactory.FieldAggParam.write ([http://linux:5601/bundles/kibana.bundle.js?v=14566:57:28138](http://linux:5601/bundles/kibana.bundle.js?v=14566:57:28138))  
at [http://linux:5601/bundles/kibana.bundle.js?v=14566:57:25226](http://linux:5601/bundles/kibana.bundle.js?v=14566:57:25226)  
at AggParams.forEach (native)  
at AggParamsFactory.AggParams.write ([http://linux:5601/bundles/kibana.bundle.js?v=14566:57:25184](http://linux:5601/bundles/kibana.bundle.js?v=14566:57:25184))  
at AggConfigFactory.AggConfig.write ([http://linux:5601/bundles/kibana.bundle.js?v=14566:60:14294](http://linux:5601/bundles/kibana.bundle.js?v=14566:60:14294))  
at AggConfigFactory.AggConfig.toDsl ([http://linux:5601/bundles/kibana.bundle.js?v=14566:60:15051](http://linux:5601/bundles/kibana.bundle.js?v=14566:60:15051))  
at [http://linux:5601/bundles/kibana.bundle.js?v=14566:61:3843](http://linux:5601/bundles/kibana.bundle.js?v=14566:61:3843)  
at Array.forEach (native)  
at AggConfigsFactory.AggConfigs.toDsl ([http://linux:5601/bundles/kibana.bundle.js?v=14566:61:3626](http://linux:5601/bundles/kibana.bundle.js?v=14566:61:3626))  
at [http://linux:5601/bundles/kibana.bundle.js?v=14566:55:23680](http://linux:5601/bundles/kibana.bundle.js?v=14566:55:23680)

Below is the settings and mappings i used, which is a very simple index:

{  
"test": {  
"aliases": {},  
"mappings": {  
"testType": {  
"properties": {  
"all": {  
"type": "text"  
},  
"timeStampt": {  
"type": "date"  
}  
}  
}  
},  
"settings": {  
"index": {  
"creation\_date": "1484039622930",  
"number\_of\_shards": "5",  
"number\_of\_replicas": "1",  
"uuid": "s56bpgOAQWGZmVL-vpcddw",  
"version": {  
"created": "5010199"  
},  
"provided\_name": "test"  
}  
}  
}  
}

And i use "timeStampt" as the "time-field" when creating the index pattern. I found when i click off "Index contains time-based events ", i.e., i just create an index pattern which does not contain time-based event, the issue disappears.

Could anyone provide me some hint?

---

<div class="post-metadata">

### Author: ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)
#### Post date: [January 10, 2017, 10:08am UTC](https://discuss.elastic.co/t/saved-field-parameter-is-now-invalid-please-select-a-new-field/71044/2 "2017-01-10T10:08:08Z")

</div>

Hi @xy_xin,

several users have come across this error in Kibana 5.1.1. We are investigating the issue. You can track the progress [on github](https://github.com/elastic/kibana/issues/9571).

---

<div class="post-metadata">

### Author: ![xy\_xin](https://avatars.discourse-cdn.com/v4/letter/x/ba9def/32.png) [@xy\_xin](https://discuss.elastic.co/u/xy_xin)
#### Post date: [January 10, 2017, 11:01am UTC](https://discuss.elastic.co/t/saved-field-parameter-is-now-invalid-please-select-a-new-field/71044/3 "2017-01-10T11:01:05Z")

</div>

Thanks for your information, @weltenwort!

---

<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: [January 10, 2017, 2:19pm UTC](https://discuss.elastic.co/t/saved-field-parameter-is-now-invalid-please-select-a-new-field/71044/4 "2017-01-10T14:19:42Z")

</div>

It looks like this might be a slightly different case than the others. That error appears for a variety of reasons, but so far, it's usually because a visualization was using a field that wasn't marked as aggregatable or searchable. I haven't yet come across why it would be thrown on the Discover tab.

---

<div class="post-metadata">

### Author: ![xy\_xin](https://avatars.discourse-cdn.com/v4/letter/x/ba9def/32.png) [@xy\_xin](https://discuss.elastic.co/u/xy_xin)
#### Post date: [January 11, 2017, 1:19am UTC](https://discuss.elastic.co/t/saved-field-parameter-is-now-invalid-please-select-a-new-field/71044/5 "2017-01-11T01:19:21Z")

</div>

Thanks @Stacey_Gammon. I noted the case is indeed like what you said,

 ![](https://us1.discourse-cdn.com/elastic/original/2X/2/2f0e1460c7c0b85241f24125ff8f3689c145cb2e.jpg)

but i have no idea why no field is marked as searchable and aggregatable.

---

<div class="post-metadata">

### Author: ![xy\_xin](https://avatars.discourse-cdn.com/v4/letter/x/ba9def/32.png) [@xy\_xin](https://discuss.elastic.co/u/xy_xin)
#### Post date: [January 13, 2017, 7:58am UTC](https://discuss.elastic.co/t/saved-field-parameter-is-now-invalid-please-select-a-new-field/71044/6 "2017-01-13T07:58:39Z")

</div>

I think i got the answer. The error occurs because the time\_based field is not searchable and aggregatable. As why the field is not searchable and aggregatable, it is because 1, there're some error when indexing the field which has type "date" (maybe the "format" is wrong, or the field is empty); or 2, after created index and before imported any data, i.e., it is an empty index.

---

<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: [February 10, 2017, 7:58am UTC](https://discuss.elastic.co/t/saved-field-parameter-is-now-invalid-please-select-a-new-field/71044/7 "2017-02-10T07:58:51Z")

</div>

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