# KIbana get killed automatically after csv export

**URL:** https://discuss.elastic.co/t/kibana-get-killed-automatically-after-csv-export/256873
**Category:** Kibana
**Created:** [November 27, 2020, 12:26pm UTC](https://discuss.elastic.co/t/kibana-get-killed-automatically-after-csv-export/256873 "2020-11-27T12:26:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ayadi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayadi/32/78063_2.png) [@Ayadi](https://discuss.elastic.co/u/Ayadi)
#### Post date: [November 27, 2020, 12:26pm UTC](https://discuss.elastic.co/t/kibana-get-killed-automatically-after-csv-export/256873/1 "2020-11-27T12:26:05Z")

</div>

Hi Guys I'm struggling with this problem since 2 weeks now everytime when I download a csv file with 1GB the kibana get killed I don't know why  
this the error that I get

```auto
log [12:18:40.381] [debug][csv][execute-job][ki089pr10x8ld0ca1c2hupiq][reporting] executing scroll request
  log [12:18:40.577] [debug][csv][execute-job][ki089pr10x8ld0ca1c2hupiq][reporting] executing scroll request
  log [12:18:40.765] [debug][csv][execute-job][ki089pr10x8ld0ca1c2hupiq][reporting] executing scroll request
  log [12:18:40.961] [debug][csv][execute-job][ki089pr10x8ld0ca1c2hupiq][reporting] executing scroll request
  log [12:18:41.082] [warning][csv][execute-job][ki089pr10x8ld0ca1c2hupiq][reporting] max Size Reached
  log [12:18:41.094] [debug][csv][execute-job][ki089pr10x8ld0ca1c2hupiq][reporting] executing clearScroll request
  log [12:18:41.105] [debug][csv][execute-job][ki089pr10x8ld0ca1c2hupiq][reporting] finished generating, total size in bytes: 1048575667
  log [12:18:59.181] [info][esqueue][queue-worker][reporting] ki087cv90x8ld0ca1c2da3ba - Job execution completed successfully
Killed

```

this my kibana.yml

```auto
xpack.security.encryptionKey : "EePXCifCaykPORwjqKGbINHCPFYnNXZT"
elasticsearch.requestTimeout: 900000
xpack.reporting.queue.timeout: 120000000
xpack.reporting.encryptionKey: "EePXCifCaykPORwjqKGbINHCPFYnNXZT"
xpack.reporting.csv.maxSizeBytes: 1000000000 
xpack.encryptedSavedObjects.encryptionKey: "EePXCifCaykPORwjqKGbINHCPFYnNXZT"
csp.strict: true
xpack.reporting.enabled: true
logging.verbose: true
server.maxPayloadBytes: 10485760  

```

I will appreciate any help

---

<div class="post-metadata">

### Author: ![Ayadi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayadi/32/78063_2.png) [@Ayadi](https://discuss.elastic.co/u/Ayadi)
#### Post date: [November 27, 2020, 2:21pm UTC](https://discuss.elastic.co/t/kibana-get-killed-automatically-after-csv-export/256873/2 "2020-11-27T14:21:21Z")

</div>

@elasticsearch

---

<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: [November 30, 2020, 9:20am UTC](https://discuss.elastic.co/t/kibana-get-killed-automatically-after-csv-export/256873/3 "2020-11-30T09:20:49Z")

</div>

You also need to increase the server.maxpayloadbytes. But using csv's this large is really not recommended.

---

<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: [December 28, 2020, 9:20am UTC](https://discuss.elastic.co/t/kibana-get-killed-automatically-after-csv-export/256873/4 "2020-12-28T09:20:52Z")

</div>

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