# Fetch data using elasticsearch\_dsl python lib

**URL:** <https://discuss.elastic.co/t/fetch-data-using-elasticsearch-dsl-python-lib/240257>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [July 8, 2020, 4:32am UTC](https://discuss.elastic.co/t/fetch-data-using-elasticsearch-dsl-python-lib/240257 "2020-07-08T04:32:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qxlsz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qxlsz/32/71776_2.png) [@qxlsz](https://discuss.elastic.co/u/qxlsz)\
**Post date:** [July 8, 2020, 4:32am UTC](https://discuss.elastic.co/t/fetch-data-using-elasticsearch-dsl-python-lib/240257/1 "2020-07-08T04:32:20Z")

</div>

Hello,

I've attached the screenshot below

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/f/9f6e9af36f64f752d4bd10b7f0f8d78e6519b7e3.png)

I am trying to use `elasticsearch_dsl` python library.

i've indexed the columns which i need so i can query

My aim is ,

for a given snapshot the keys which i am interested are something like this

available: 10  
unavailable: 90

how do i access the keys for all the snapshots using `elasticsearch_dsl`

Thanks

---

<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:** [August 5, 2020, 4:32am UTC](https://discuss.elastic.co/t/fetch-data-using-elasticsearch-dsl-python-lib/240257/2 "2020-08-05T04:32:27Z")

</div>

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