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

I have upgraded Kibana from 2.3 to 5.3 and when I created the indexes I started to see this error.

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

Discover: "field" is a required parameter
TypeError: "field" is a required parameter`
  at FieldAggParamFactory.FieldAggParam.write (http://54.210.224.89:5601/bundles/kibana.bundle.js?v=14849:66:9265)
        at http://54.210.224.89:5601/bundles/kibana.bundle.js?v=14849:66:6104
        at AggParams.forEach (native)
    at AggParamsFactory.AggParams.write (http://54.210.224.89:5601/bundles/kibana.bundle.js?v=14849:66:6062)
    at AggConfigFactory.AggConfig.write (http://54.210.224.89:5601/bundles/kibana.bundle.js?v=14849:69:3473)
    at AggConfigFactory.AggConfig.toDsl (http://54.210.224.89:5601/bundles/kibana.bundle.js?v=14849:69:4230)
    at http://54.210.224.89:5601/bundles/kibana.bundle.js?v=14849:69:25195
    at Array.forEach (native)
    at AggConfigsFactory.AggConfigs.toDsl (http://54.210.224.89:5601/bundles/kibana.bundle.js?v=14849:69:24978)
    at http://54.210.224.89:5601/bundles/kibana.bundle.js?v=14849:64:890

Can someone please help?

Thank you in advance.

Related issue on Github: https://github.com/elastic/kibana/issues/9571

Usually what this means is that you have a field in your mapping which has no values associated with it. Is this the case? If so, can you remove that field from your mapping and try again?

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