This happens basically on any of the "Monitoring" pages. We do a pretty basic install of Kibana w/ the Elastic.co provided Puppet module (v6.0.1). Double checking the Kibana logs, I see this in the Kibana error log:
FATAL { Error: EACCES: permission denied, open '/usr/share/kibana/optimize/bundles/ml.style.css'
at Error (native)
cause:
{ Error: EACCES: permission denied, open '/usr/share/kibana/optimize/bundles/ml.style.css'
at Error (native)
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/usr/share/kibana/optimize/bundles/ml.style.css' },
isOperational: true,
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/usr/share/kibana/optimize/bundles/ml.style.css' }
I've seen some permissions issues here before, so I wiped out the bundles directory and restarted Kibana. That seems to have solved it. It seems like its some issue with the Kibana puppet module and the order-of-operations.. some files get owned by root before Kibana starts up, and then it can't properly generate the bundles.