# Fetch list of indices using PySpark

**URL:** <https://discuss.elastic.co/t/fetch-list-of-indices-using-pyspark/134483>\
**Category:** Elasticsearch\
**Created:** [June 4, 2018, 8:08pm UTC](https://discuss.elastic.co/t/fetch-list-of-indices-using-pyspark/134483 "2018-06-04T20:08:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaidyanathan](https://avatars.discourse-cdn.com/v4/letter/v/b38774/32.png) [@vaidyanathan](https://discuss.elastic.co/u/vaidyanathan)\
**Post date:** [June 4, 2018, 8:08pm UTC](https://discuss.elastic.co/t/fetch-list-of-indices-using-pyspark/134483/1 "2018-06-04T20:08:56Z")

</div>

Hi,

Is there a way to fetch the list of Elastic Search indices using Pyspark.

The idea is to have the full list of indices and save them to separate folders in Hdfs.

Best Reagrds  
Vaidy

---

<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:** [July 2, 2018, 8:09pm UTC](https://discuss.elastic.co/t/fetch-list-of-indices-using-pyspark/134483/2 "2018-07-02T20:09:02Z")

</div>

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