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

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

Hello Kalyan,

Elastic stores APM Data in a normal datastream, so you can use the _search API.

The relevant indexes are(docs):

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

Best regards
Wolfram

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

Thanks again.
Kalyan