# Discoverの検索結果を上限サイズを超えてCSV出力したい

**URL:** https://discuss.elastic.co/t/discover-csv/251061
**Category:** 日本語による質問・議論はこちら
**Created:** [October 6, 2020, 1:46am UTC](https://discuss.elastic.co/t/discover-csv/251061 "2020-10-06T01:46:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![t-nakata](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@t-nakata](https://discuss.elastic.co/u/t-nakata)
#### Post date: [October 6, 2020, 1:46am UTC](https://discuss.elastic.co/t/discover-csv/251061/1 "2020-10-06T01:46:50Z")

</div>

DIscoverの検索結果30000件程をCSV出力したいです。しかし、CSVの出力サイズでサポートされているのは最大50MBまでと制限があるため、Discover画面から出力しようとすると、その上限に引っかかってしまいます。50MBを超えるCSV出力を実施するためには何かいい方法は無いでしょうか？

---

<div class="post-metadata">

### Author: ![tsgkdt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsgkdt/32/39151_2.png) [@tsgkdt](https://discuss.elastic.co/u/tsgkdt)
#### Post date: [October 6, 2020, 2:45am UTC](https://discuss.elastic.co/t/discover-csv/251061/2 "2020-10-06T02:45:41Z")

</div>

手元にちょうどよい環境がないので検証できてないですが、検索した限りですとこちらのスレッドが参考になりそうです。

> [@How to export csv in kibana 7.5 with more then 1 million row](https://discuss.elastic.co/t/how-to-export-csv-in-kibana-7-5-with-more-then-1-million-row/214526/1):
>
> I need help... i have problem with reporting CSV on kibana. i want to get CSV with 1.000.000 row from discover but its always failed. i get notif that [Reporting generate CSV error:Unable to generate report Max attempts reached (3)]? what must i do to export CSV in large volume?

> [@Csv file export with 1 million records(approx 1 gb size) in kibana reporting](https://discuss.elastic.co/t/csv-file-export-with-1-million-records-approx-1-gb-size-in-kibana-reporting/222892):
>
> Hi All, I am trying to export csv file with 1 million records(approx 1 gb size) from kibana reporting. I had tried different combinations of below configs but getting different errors.Also increased kibana heap size to 4 gb. Is it practially possible to export such large file kibana.yml : xpack.monitoring.enabled: true server.maxPayloadBytes: 10485760 xpack.reporting.queue.timeout: 3600000 xpack.reporting.csv.maxSizeBytes: 104857600 Error recieved in Kibana reporting tab: Unable to gen…

中で紹介されているLogstashでcsv出力というのは試す価値がありそうです。

ご参考になれば。

---

<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: [November 3, 2020, 2:45am UTC](https://discuss.elastic.co/t/discover-csv/251061/3 "2020-11-03T02:45:45Z")

</div>

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