# Date fields not being exported in saved search

**URL:** <https://forum.opensearch.org/t/date-fields-not-being-exported-in-saved-search/23395>\
**Category:** OpenSearch\
**Created:** [February 13, 2025, 10:11am UTC](https://forum.opensearch.org/t/date-fields-not-being-exported-in-saved-search/23395 "2025-02-13T10:11:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meg](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Meg](https://forum.opensearch.org/u/Meg)\
**Post date:** [February 13, 2025, 10:11am UTC](https://forum.opensearch.org/t/date-fields-not-being-exported-in-saved-search/23395/1 "2025-02-13T10:11:33Z")

</div>

**Issue:**

I have created a an index pattern with a datetime field. And have created a saved search, so I can quickly download a report.

Unfortunately, the datetime and scripted fields are not exported, when I click on generate csv.

Is there a solution for this?

Thanks for your help! 🙂

---

<div class="post-metadata">

**Author:** ![Mantas](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@Mantas](https://forum.opensearch.org/u/Mantas)\
**Post date:** [February 13, 2025, 11:32am UTC](https://forum.opensearch.org/t/date-fields-not-being-exported-in-saved-search/23395/2 "2025-02-13T11:32:24Z")

</div>

hi @Meg,

If my understanding is correct - the report is being generated from the `Source` column (only):

 ![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/c/c076b45e9e8566942bf5542daafd2cb2a7ada594.png)

The Time column is pointing in the field `timestamp` (in my sample above) in the `Source` so the report still has it, it’s just not a first field in the CSV.

Best,  
mj
