# ‏how to display the documents of an index in kibana 7.5?

**URL:** <https://discuss.elastic.co/t/how-to-display-the-documents-of-an-index-in-kibana-7-5/352118>\
**Category:** Elasticsearch\
**Created:** [January 30, 2024, 6:31pm UTC](https://discuss.elastic.co/t/how-to-display-the-documents-of-an-index-in-kibana-7-5/352118 "2024-01-30T18:31:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpniel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mpniel/32/113170_2.png) [@mpniel](https://discuss.elastic.co/u/mpniel)\
**Post date:** [January 30, 2024, 6:31pm UTC](https://discuss.elastic.co/t/how-to-display-the-documents-of-an-index-in-kibana-7-5/352118/1 "2024-01-30T18:31:31Z")

</div>

‏how to list the contents and view the documents of an index in kibana 7.5, using index management or api?

---

<div class="post-metadata">

**Author:** ![yago82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yago82/32/97755_2.png) [@yago82](https://discuss.elastic.co/u/yago82)\
**Post date:** [January 30, 2024, 7:20pm UTC](https://discuss.elastic.co/t/how-to-display-the-documents-of-an-index-in-kibana-7-5/352118/2 "2024-01-30T19:20:49Z")

</div>

> [@mpniel](#):
>
> how to list the contents and view the documents of an index in kibana 7.5, using index management or api?

Hi,

you can use the Discover feature in Kibana to view the documents or if you want to use the Elasticsearch API to list the documents in an index, you can use the Search API.

```auto
GET /your_index_name/_search
{
  "query": {
    "match_all": {}
  }
}

```

Regards

---

<div class="post-metadata">

**Author:** ![mpniel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mpniel/32/113170_2.png) [@mpniel](https://discuss.elastic.co/u/mpniel)\
**Post date:** [January 31, 2024, 10:24am UTC](https://discuss.elastic.co/t/how-to-display-the-documents-of-an-index-in-kibana-7-5/352118/3 "2024-01-31T10:24:14Z")

</div>

Will this command list the docs json contents?

---

<div class="post-metadata">

**Author:** ![yago82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yago82/32/97755_2.png) [@yago82](https://discuss.elastic.co/u/yago82)\
**Post date:** [January 31, 2024, 10:39am UTC](https://discuss.elastic.co/t/how-to-display-the-documents-of-an-index-in-kibana-7-5/352118/4 "2024-01-31T10:39:57Z")

</div>

> [@mpniel](#):
>
> ‏how to list the contents and view the documents of an index in kibana 7.5, using index management or api?

Hi,  
yes, the command provided will list the JSON contents of the documents in the specified index. The `GET /your_index_name/_search` API call retrieves documents that meet a certain condition, in this case, the `match_all` query is used

---

<div class="post-metadata">

**Author:** ![mpniel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mpniel/32/113170_2.png) [@mpniel](https://discuss.elastic.co/u/mpniel)\
**Post date:** [February 1, 2024, 10:59pm UTC](https://discuss.elastic.co/t/how-to-display-the-documents-of-an-index-in-kibana-7-5/352118/5 "2024-02-01T22:59:34Z")

</div>

‏that command only display ‏the fields of the index . What i need is the contents of the index records.

---

<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:** [February 29, 2024, 10:59pm UTC](https://discuss.elastic.co/t/how-to-display-the-documents-of-an-index-in-kibana-7-5/352118/6 "2024-02-29T22:59:51Z")

</div>

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