# Missing columns in Kibana generated CSV

**URL:** <https://discuss.elastic.co/t/missing-columns-in-kibana-generated-csv/266865>\
**Category:** Kibana\
**Created:** [March 10, 2021, 8:52pm UTC](https://discuss.elastic.co/t/missing-columns-in-kibana-generated-csv/266865 "2021-03-10T20:52:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![noah.solomon](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@noah.solomon](https://discuss.elastic.co/u/noah.solomon)\
**Post date:** [March 10, 2021, 8:52pm UTC](https://discuss.elastic.co/t/missing-columns-in-kibana-generated-csv/266865/1 "2021-03-10T20:52:17Z")

</div>

Hi,

I'm using Kibana 7.10. I'm generating a CSV from a saved search in the Kibana UI. The generated CSV doesn't contain all of the columns that are in the index that I'm viewing. The columns that are added to the CSV aren't the ones that are in the Discover UI in my saved search either.

How does Kibana determine the columns to put in the generated CSV? Is there some way to add columns that are missing?

Edit: I am generating a CSV from Reporting \> Generate CSV.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [March 10, 2021, 11:15pm UTC](https://discuss.elastic.co/t/missing-columns-in-kibana-generated-csv/266865/2 "2021-03-10T23:15:44Z")

</div>

Columns are determined by selections from the list of fields on the left side of the page. If you hover over a field and click the plus it will be added to the center table. From there, saving the table and generating a CSV should hopefully give you the expected report.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [March 10, 2021, 11:18pm UTC](https://discuss.elastic.co/t/missing-columns-in-kibana-generated-csv/266865/3 "2021-03-10T23:18:39Z")

</div>

Also, there is more information here : [[Reporting] Inconsistent output between Export CSV from Discover, and Download CSV from Dashboard · Issue #68718 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/68718)

( some more discuss forums posts around this: [Exported CSV from search table in dashboard has column values missing - #3 by dosant](https://discuss.elastic.co/t/exported-csv-from-search-table-in-dashboard-has-column-values-missing/257882/3))

---

<div class="post-metadata">

**Author:** ![noah.solomon](https://avatars.discourse-cdn.com/v4/letter/n/4af34b/32.png) [@noah.solomon](https://discuss.elastic.co/u/noah.solomon)\
**Post date:** [March 10, 2021, 11:46pm UTC](https://discuss.elastic.co/t/missing-columns-in-kibana-generated-csv/266865/4 "2021-03-10T23:46:52Z")

</div>

@jbudz The results I get always have the same set of fields. They are not the fields that are in the center table.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [March 11, 2021, 12:52am UTC](https://discuss.elastic.co/t/missing-columns-in-kibana-generated-csv/266865/5 "2021-03-11T00:52:56Z")

</div>

Just wanted to double check - have you saved all changes? CSV export will be based on that, not necessarily what's shown in the browser window.

---

<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:** [April 8, 2021, 12:53am UTC](https://discuss.elastic.co/t/missing-columns-in-kibana-generated-csv/266865/6 "2021-04-08T00:53:55Z")

</div>

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