# Visualize: "field" is a required parameter: How to solve?

**URL:** https://discuss.elastic.co/t/visualize-field-is-a-required-parameter-how-to-solve/74619
**Category:** Kibana
**Created:** [February 10, 2017, 8:28am UTC](https://discuss.elastic.co/t/visualize-field-is-a-required-parameter-how-to-solve/74619 "2017-02-10T08:28:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)
#### Post date: [February 10, 2017, 8:28am UTC](https://discuss.elastic.co/t/visualize-field-is-a-required-parameter-how-to-solve/74619/1 "2017-02-10T08:28:30Z")

</div>

Hi, I have a big problem in kibana 5.2.

I have developed dashboards and visualizations locally on my pc.  
Now I need to setup the new live system.

I have some visualizations, which are splitting bars by a term aggregation on a field named "errorDetails".  
Problem: It is only filled on errors and these errors occur seldom.

I exported all saved objects and wanted to import them to the new live system. After I fixed the first errors on insert (because the field was missing), I created an index template and an index and refreshed the index pattern in kibana. The field is now shown and the import can be done, with errors.

But now, the complete dashboard is not loading, where the above visualization is used.  
Hunted down the vis and see, that the errorDetails field is not in the list for term aggregation, but it is shown in the index pattern.

How can I solve this problem?

Thanks, Andreas

---

<div class="post-metadata">

### Author: ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)
#### Post date: [February 10, 2017, 10:44pm UTC](https://discuss.elastic.co/t/visualize-field-is-a-required-parameter-how-to-solve/74619/2 "2017-02-10T22:44:31Z")

</div>

Is it possible to 'seed' the index with at least one record? As you encountered, if a field is in an index but there is no data in that field, Kibana will report it as being not aggregatable and not searchable. After you have seeded your index, click on the ![](https://us1.discourse-cdn.com/elastic/original/2X/3/306f295861adde6639da3da0adf2a0f4b3eedca6.png) button on the Index Patterns section in Management to refresh your fields.

---

<div class="post-metadata">

### Author: ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)
#### Post date: [February 13, 2017, 11:47am UTC](https://discuss.elastic.co/t/visualize-field-is-a-required-parameter-how-to-solve/74619/3 "2017-02-13T11:47:21Z")

</div>

I don't know, how kibana is saving its information, if a field is aggregatable, etc.  
I assume it stored also in a document style, because it is stored in elasticsearch as well.

Isn't it possible to update this document / field and set it to aggregatable?

---

<div class="post-metadata">

### Author: ![BigFunger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigfunger/32/7323_2.png) [@BigFunger](https://discuss.elastic.co/u/BigFunger)
#### Post date: [February 13, 2017, 3:37pm UTC](https://discuss.elastic.co/t/visualize-field-is-a-required-parameter-how-to-solve/74619/4 "2017-02-13T15:37:03Z")

</div>

Kibana uses the [field stats api](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-field-stats.html) to determine whether a field is searchable/aggregatable. Did the workaround I suggested not work for you?

---

<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: [March 13, 2017, 3:37pm UTC](https://discuss.elastic.co/t/visualize-field-is-a-required-parameter-how-to-solve/74619/5 "2017-03-13T15:37:08Z")

</div>

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