# Wanted to extract the data from Elastic via API and build my own dashboard using React

**URL:** <https://discuss.elastic.co/t/wanted-to-extract-the-data-from-elastic-via-api-and-build-my-own-dashboard-using-react/378167>\
**Category:** APM\
**Tags:** elastic-stack-monitoring, elastic-stack-alerting, open-telemetry\
**Created:** [May 15, 2025, 7:51am UTC](https://discuss.elastic.co/t/wanted-to-extract-the-data-from-elastic-via-api-and-build-my-own-dashboard-using-react/378167 "2025-05-15T07:51:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mailtokkalyan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mailtokkalyan/32/143123_2.png) [@mailtokkalyan](https://discuss.elastic.co/u/mailtokkalyan)\
**Post date:** [May 15, 2025, 7:51am UTC](https://discuss.elastic.co/t/wanted-to-extract-the-data-from-elastic-via-api-and-build-my-own-dashboard-using-react/378167/1 "2025-05-15T07:51:38Z")

</div>

Hi

We are building an application for all our dashboards in single place. This dashboard needs to collect the data for all our API's. Some places we are using Elastic APM and other places we have other tools like new relic.

For this to achieve, we need to get the data points from Elastic APM via API based on the parameters (Service-Name, Start date/time, end date/time, etc. ) and wanted to get the data (Latency, Throughput, errors, Infra)

Could you please help if that is possible? we tried to explore to get any available API but not working for us.

Regards  
Kalyan

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [May 15, 2025, 9:24am UTC](https://discuss.elastic.co/t/wanted-to-extract-the-data-from-elastic-via-api-and-build-my-own-dashboard-using-react/378167/2 "2025-05-15T09:24:15Z")

</div>

Hello Kalyan,

Elastic stores APM Data in a normal datastream, so you can use the [\_search API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-1).

The relevant indexes are([docs](https://www.elastic.co/docs/solutions/observability/apm/data-streams)):

- `traces-apm*` - the Waterfall traces
- `logs-apm*` - APM Logs
- `metrics-apm*` - APM metrics

Best regards  
Wolfram

---

<div class="post-metadata">

**Author:** ![mailtokkalyan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mailtokkalyan/32/143123_2.png) [@mailtokkalyan](https://discuss.elastic.co/u/mailtokkalyan)\
**Post date:** [May 15, 2025, 10:45am UTC](https://discuss.elastic.co/t/wanted-to-extract-the-data-from-elastic-via-api-and-build-my-own-dashboard-using-react/378167/3 "2025-05-15T10:45:49Z")

</div>

Hi Wolfram, Thanks for your quick response. I will try this Search API and get back to you...

Thanks again.  
Kalyan
