Elasticsearch 9 · Documents
Count documents
Count the documents in an index.
curl -u elastic:$ELASTIC_PASSWORD --cacert http_ca.crt "https://localhost:9200/products/_count?pretty"
Official Elasticsearch 9 documentation
Elasticsearch 9 · Documents
Count the documents in an index.
curl -u elastic:$ELASTIC_PASSWORD --cacert http_ca.crt "https://localhost:9200/products/_count?pretty"
Official Elasticsearch 9 documentation
Was this page helpful?