Visualize: "field" is a required parameter - ELK 5.5.2


(Tom Doherty) #1

Hi

I moved my elasticsearch, logstash, and kibana to a RHEL 7.4 box from a 6.9 and now I see the below errors on any of the sample dashboards. I am only using metricbeat and it's sample dashboards. An identical setup worked on RHEL 6.9. Please help!

TypeError: "field" is a required parameter
at FieldAggParam.AggTypesParamTypesFieldProvider.FieldAggParam.write (http://lhcvccstst02:5601/bundles/kibana.bundle.js?v=15443:120:10484)
at http://lhcvccstst02:5601/bundles/kibana.bundle.js?v=15443:120:8083
at AggParams.forEach ()
at AggParams.AggTypesAggParamsProvider.AggParams.write (http://lhcvccstst02:5601/bundles/kibana.bundle.js?v=15443:120:8041)
at AggConfig.VisAggConfigProvider.AggConfig.write (http://lhcvccstst02:5601/bundles/kibana.bundle.js?v=15443:121:23157)
at AggConfig.VisAggConfigProvider.AggConfig.toDsl (http://lhcvccstst02:5601/bundles/kibana.bundle.js?v=15443:121:23986)
at http://lhcvccstst02:5601/bundles/kibana.bundle.js?v=15443:137:2011
at Array.forEach ()
at AggConfigs.VisAggConfigsProvider.AggConfigs.toDsl (http://lhcvccstst02:5601/bundles/kibana.bundle.js?v=15443:137:1794)
at http://lhcvccstst02:5601/bundles/kibana.bundle.js?v=15443:137:31216


(Marius Dragomir) #2

There is a work around for the issue that you're experiencing. You can find it here:


(Tom Doherty) #3

Hi

Thank you for your reply! I don't see a Traffic Over Time visualisation but I see the same error when I use the metric beat System overview by host dashboard. I click edit and see no errors

Here is the expanded error

Here is the exported JSON

[
{
"_id": "System-overview-by-host",
"_type": "visualization",
"_source": {
"description": "",
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{"filter":[]}"
},
"savedSearchId": "System-stats",
"title": "System overview by host",
"uiStateJSON": "{"vis":{"params":{"sort":{"columnIndex":null,"direction":null}}}}",
"version": 1,
"visState": "{"title":"System overview by host","type":"table","params":{"perPage":10,"showPartialRows":false,"showMeticsAtAllLevels":false,"sort":{"columnIndex":null,"direction":null},"showTotal":false,"totalFunc":"sum"},"aggs":[{"id":"1","enabled":true,"type":"avg","schema":"metric","params":{"field":"system.memory.used.pct","customLabel":"Used memory"}},{"id":"2","enabled":true,"type":"terms","schema":"bucket","params":{"field":"beat.name","size":50,"order":"desc","orderBy":"_term","customLabel":"Host"}},{"id":"8","enabled":true,"type":"avg","schema":"metric","params":{"field":"system.memory.total","customLabel":"Total memory"}},{"id":"3","enabled":true,"type":"avg","schema":"metric","params":{"field":"system.fsstat.total_size.used","customLabel":"Used disk space"}},{"id":"4","enabled":true,"type":"avg","schema":"metric","params":{"field":"system.load.norm.1","customLabel":"System load / cores"}},{"id":"5","enabled":true,"type":"avg","schema":"metric","params":{"field":"system.cpu.user.pct","customLabel":"CPU usage"}},{"id":"6","enabled":true,"type":"avg","schema":"metric","params":{"field":"system.network.in.dropped","customLabel":"In dropped"}},{"id":"7","enabled":true,"type":"avg","schema":"metric","params":{"field":"system.network.out.dropped","customLabel":"Out dropped"}}],"listeners":{}}"
}
}
]

Thank you
Tom


(system) #4

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