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.