# Scrape metrics from elastic search 8

**URL:** <https://discuss.elastic.co/t/scrape-metrics-from-elastic-search-8/321758>\
**Category:** Elasticsearch\
**Created:** [December 21, 2022, 12:17pm UTC](https://discuss.elastic.co/t/scrape-metrics-from-elastic-search-8/321758 "2022-12-21T12:17:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smiley\_tamy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smiley_tamy/32/113375_2.png) [@smiley\_tamy](https://discuss.elastic.co/u/smiley_tamy)\
**Post date:** [December 21, 2022, 12:17pm UTC](https://discuss.elastic.co/t/scrape-metrics-from-elastic-search-8/321758/1 "2022-12-21T12:17:42Z")

</div>

elasticsearch-prometheus-exporter is used to collect all relevant metrics and makes them available to Prometheus via the Elasticsearch REST API.  
http://:9200/\_prometheus/metrics  
This plugin supports till 7.17.7 version

How can we get the metrics from Elasticsearch 8 version with xpack enabled

---

<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:** [January 18, 2023, 12:18pm UTC](https://discuss.elastic.co/t/scrape-metrics-from-elastic-search-8/321758/2 "2023-01-18T12:18:37Z")

</div>

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