# Using multi search via curl to export data from ES

**URL:** <https://discuss.elastic.co/t/using-multi-search-via-curl-to-export-data-from-es/233425>\
**Category:** Elasticsearch\
**Created:** [May 19, 2020, 11:56pm UTC](https://discuss.elastic.co/t/using-multi-search-via-curl-to-export-data-from-es/233425 "2020-05-19T23:56:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![t3fsx](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@t3fsx](https://discuss.elastic.co/u/t3fsx)\
**Post date:** [May 19, 2020, 11:56pm UTC](https://discuss.elastic.co/t/using-multi-search-via-curl-to-export-data-from-es/233425/1 "2020-05-19T23:56:47Z")

</div>

I've been looking at the documentation for multisearch API with the objective of exporting specific values of a field in Elasticsearch with for a given time period.

It might be that I'm not used to interacting with the API (via curl) to make requests, but I still haven't figured out a way of getting all the results of `fieldA` for the past 24h with a filter of `filter: KEY`.

Is this possible to do via curl?

---

<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:** [June 16, 2020, 11:56pm UTC](https://discuss.elastic.co/t/using-multi-search-via-curl-to-export-data-from-es/233425/2 "2020-06-16T23:56:57Z")

</div>

Closed on June 16, 2020, 11:56pm UTC

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