We recently upgraded our cluster (8 ES Nodes, 1 Kibana Node) from 8.14.3 to 8.17.5. We ran into various issues along the way due to an issue in VMware and had to transfer all our VMs to a different storage.
The cluster is now healthy again (GET _cluster/health), but Kibana does not recognize that we have an Enterprise license and does not display any of the Enterprise features like for example the Security section, so we also can't see our security alerts. However, all features are still available via the API.
Running GET _license in the Kibana DEV console displays an active enterprise license:
Welcome! Sorry to hear progress has been slow. I don't see any obvious issues in the Kibana GitHub repo. Do you see any additional errors in the logs at all?
We are one step further and it seems to be a firewall issue. We found many "authorization header" Kibana logs and accessing Elastic without going through the WAF shows all the missing features. It seems that the license API endpoint can not be contacted correctly by Kibana due to WAF-interference and that is why Kibana does think there is no active license.
Does someone have a list of such custom Kibana header parameters that one might have to whitelist?
Here are the ones that we are currently whitelisting in our WAF, but we suspect something changed from 8.14.3 to 8.17.5?
Our WAF was blocking some HTTP responses due to unknown header parameters. We only whitelisted request headers so far.
Whitelisting the following header parameters did the trick for us:
kbn-name
kbn-license-sig
Since the WAF was blocking responses with the header parameter "kbn-license-sig", it also explains why features that require a license were not available in Kibana.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.