# KIbana reporting problem

**URL:** <https://discuss.elastic.co/t/kibana-reporting-problem/263410>\
**Category:** Kibana\
**Created:** [February 5, 2021, 3:05pm UTC](https://discuss.elastic.co/t/kibana-reporting-problem/263410 "2021-02-05T15:05:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ged](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ged/32/65761_2.png) [@Ged](https://discuss.elastic.co/u/Ged)\
**Post date:** [February 5, 2021, 3:05pm UTC](https://discuss.elastic.co/t/kibana-reporting-problem/263410/1 "2021-02-05T15:05:38Z")

</div>

Hi Team,

I've problem when generating CSV report based on search result.  
I've two Kibanas (7.8.0) connected to one Elasticsearch cluster so I've added the same xpack.reporting.encryptionKey in both instances as described in documentation.

Result of generating CSV report is below error:

```auto
Unable to generate report
Not Found :: {"path":"/_search/scroll","query":{},"body":"{\"scroll_id\":[\"FGluY2x1ZGVfY29udGV4dF91dWlkDnF1ZXJ5VGhlbkZldGNoBBRXZXF4Y25jQmNpWldkQ2ZrUklCOAAAAAAAAx0OFkM1aENSRkZPU0NTbTNiVlhkZ0xtOWcUVTFPeGNuY0JuUkVfTElrZlJJNXkAAAAAAA_MoBZucVNCZEFaTlNwcXNoVXJxd3plc2ZRFFYtcXhjbmNCY2laV2RDZmtSSUI3AAAAAAADHQwWQzVoQ1JGRk9TQ1NtM2JWWGRnTG05ZxRXT3F4Y25jQmNpWldkQ2ZrUklCNwAAAAAAAx0NFkM1aENSRkZPU0NTbTNiVlhkZ0xtOWc=\"]}","statusCode":404,"response":"{\"succeeded\":true,\"num_freed\":0}"}

```

Anyone can help ?

Thanks in advance !  
Ged

---

<div class="post-metadata">

**Author:** ![Ged](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ged/32/65761_2.png) [@Ged](https://discuss.elastic.co/u/Ged)\
**Post date:** [February 7, 2021, 11:31am UTC](https://discuss.elastic.co/t/kibana-reporting-problem/263410/2 "2021-02-07T11:31:21Z")

</div>

Additionally what I've found - error occurs only if any fields are added to search view in Discovery. IFnot - report is generated successfully.  
In Kibana 7.6.0 it looks similar, but if fields are added - no error is raised, but CSV report file is empty.

Thanks.  
Ged

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [February 9, 2021, 11:30am UTC](https://discuss.elastic.co/t/kibana-reporting-problem/263410/3 "2021-02-09T11:30:02Z")

</div>

Hmm, it seems like you might be hitting this: [[Reporting/CSV Generation] Do not try to clear the scroll context when the context timed out · Issue #48273 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/48273) but it should be fixed.

---

<div class="post-metadata">

**Author:** ![Ged](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ged/32/65761_2.png) [@Ged](https://discuss.elastic.co/u/Ged)\
**Post date:** [February 9, 2021, 11:58am UTC](https://discuss.elastic.co/t/kibana-reporting-problem/263410/4 "2021-02-09T11:58:10Z")

</div>

Hi Marius,

Thanks for your response.  
Looks like should be, but doesn't work for me.  
I've rechecked on KIbana 7.6.0 and Kibana 7.8.0 - confirming what I wrote previously.  
Only difference between above versions is 7.6.0 generates empty file, while 7.8.0 raises error.  
Of course it happens only when any fields are added to search view in Discovery.

Additionally - I've \_source field storing disabled, but as far as I remember It's not required.

Thanks.  
Ged

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 9, 2021, 11:59am UTC](https://discuss.elastic.co/t/kibana-reporting-problem/263410/5 "2021-03-09T11:59:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
