When working with Elasticsearch, you might want to know what data is actually stored on an index. All indices can be listed by calling the following endpoint: I assume you are running Elasticsearch on the default port 9200.

List data of an Elasticsearch index

To show all data that is on the users index, we can make a call to the following endpoint: GET 127.0.0.1:9200/users/_search?pretty The users index just contains a couple of fields, and has 1000 entries, but typically an index will contain huge amounts of data.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners