We use Searchguard’s multitenancy on our Kibana.
Whenever users try to generate a report CSV, we keep getting the following error intermittently:
Error: Failed to decrypt report job data. Please ensure that xpack.reporting.encryptionKey is set and re-generate this report. Error: Unsupported state or unable to authenticate data
But after trying a couple of times the report csv works.
After reading this thread: https://discuss.elastic.co/t/couldnt-create-report-for-search/164486/3
we believe this is a bug related to multitenancy
With different kibana.index settings across Kibana instances connected to the same Elasticsearch cluster, you must also configure a different xpack.reporting.index setting per each unique kibana.index
But if searchguard multitenancy creates a unique .kibana_hash_tenantname index, how do we handle this?
- Kibana: 7.2.1
- Elasticsearch nodes: 7.2.1
- Searchguard Kibana Plugin: firstname.lastname@example.org