Kibana csv reporting error randomly

my kibana error randomly when reporting a csv file.

error:

Unable to generate report

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

I have 3 kibana instances, 1 Elasticsearch cluster, version is 7.10.0
kibana is on each of the 3 k8s clusters.

I did :

  • kibana.yml ( This is k8s deployment file, Deployed to all three clusters. )
          env:
            - name: xpack.reporting.encryptionKey
              value: "Xx5ZcRsOIu5PkSoxZU9abnAVN3uc667T"
            - name: xpack.reporting.csv.maxSizeBytes
              value: "200mb"
            - name: xpack.reporting.queue.timeout
              value: "5m"
  • elasticsearch.yml
http.max_content_length: "200mb"

but

how can I solve this problem ?

Hi @sbyunnn. I believe your environment variables are being ignored because they need to be uppercase. See this comment for more info.

1 Like