The Service list in Kibana APM

Hello,

I want to export the list of Services from Kibana, is this stored in an seperate index or does Kibana looks in the traces for this when you open the Dashboard?

Who knows?

KR Henk

1 Like

Hello @Henk_Stobbe

Can we try using below query which will show the list of APM Services available in the environment :

GET *apm-*/_search?filter_path=aggregations.services.buckets.key
{
  "size": 0,
  "query": {
    "range": {
      "@timestamp": {
        "gte": "now-30m",
        "lte": "now"
      }
    }
  },
  "aggs": {
    "services": {
      "terms": {
        "field": "service.name",
        "size": 10000
      }
    }
  }
}

Or maybe by ES|QL :

Thanks!!