Stack Monitoring not showing anything for kibana 7.9.1

We have been using Elasticsearch 7.9.1 and Kibana 7.9.1 with self-monitoring enabled. Stack monitoring was working fine earlier but all of a sudden it went blank and showing nothing and we did not do any changes to the cluster.
I verified we have been receiving monitoring data to .monitoring-es-* and .monitoring-kibana-*

below is the cluster settings

GET _cluster/settings
{
  "persistent" : {
    "xpack" : {
      "monitoring" : {
        "elasticsearch" : {
          "collection" : {
            "enabled" : "true"
          }
        },
        "collection" : {
          "enabled" : "true"
        }
      }
    }
  },
  "transient" : { }
}

And we are able to see the stack monitoring data when we use the below URL. But when we click on the stack monitoring tab either it is not showing the cluster information or navigating to the monitoring overview page.

https://localhost:5601/app/monitoring#/overview?_g=(cluster_uuid:ecs9_8ZrRdqqmfg6KsUoVA,refreshInterval:(pause:!f,value:10000),time:(from:now-1h,to:now))

Hello,

What do you see on the page? Can we get a screenshot? Are there any errors in browser console? Do you see any errors in Elasticsearch or Kibana logs?

Thanks,
Bhavya

@bhavyarm , Thanks for your response. There are no errors in Elasticsearch or Kibana logs.

below is the screen capture of the stack monitoring tab.

below is the error we observed for the console

kbn-ui-shared-deps.js:422 TypeError: Cannot read properties of undefined (reading 'list')
    at render (:5601/33912/bundles/plugin/monitoring/1.plugin.js:3)
    at t.value (:5601/33912/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js:393)
    at :5601/33912/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js:393
    at Array.forEach (<anonymous>)
    at t.value (:5601/33912/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js:393)
    at :5601/33912/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js:393
    at Array.map (<anonymous>)
    at t.value (:5601/33912/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js:393)
    at t.value (:5601/33912/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js:393)
    at t.value (:5601/33912/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.@elastic.js:393)
ds @ kbn-ui-shared-deps.js:422

I'm not sure what the problem is but here's a couple of things you could try;

  • open an incognito or private browser (but if multiple users are seeing the same thing then this might not help
  • pick some dates in the timepicker in the past when you know it was working. If this works, it might show you when it stopped.

Please let us know if either of those helps and we'll find other steps to troubleshoot this.