Exporting Flamegraph or Method level Data from Universal Profiling

Hi Team ,

I'm currently using the Elastic Universal Profiling and can view the flamegraph visualization for methods. However , I would like to know:

  1. Is there a way to export the flamegraph data (e.g., as raw data or JSON) for further analysis?
  2. Is it possible to extract method level CPU Usage data , including percentage CPU time or sample count per method , outside UI like in indexes or something?
  3. Are there any APIs or tools provided to programmatically access this profiling information?
    This data would help us with internal performance analysis and alerting

Thanks

Hi @Pooja_Gajaram

The profiling data is distributed across various Elasticsearch indices.
With POST /_profiling/flamegraph it is possible to query for data in JSON format, that builds the flamegraph in the UI. But the format of this JSON is proprietary, not officially supported and may change any time without notice.