# Can Elastic APM RUM handle stacktrace from Electron

**URL:** <https://discuss.elastic.co/t/can-elastic-apm-rum-handle-stacktrace-from-electron/255916>\
**Category:** APM\
**Tags:** rum\
**Created:** [November 19, 2020, 1:46am UTC](https://discuss.elastic.co/t/can-elastic-apm-rum-handle-stacktrace-from-electron/255916 "2020-11-19T01:46:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matrix](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matrix/32/79210_2.png) [@Matrix](https://discuss.elastic.co/u/Matrix)\
**Post date:** [November 19, 2020, 1:46am UTC](https://discuss.elastic.co/t/can-elastic-apm-rum-handle-stacktrace-from-electron/255916/1 "2020-11-19T01:46:05Z")

</div>

**Kibana version** :  
7.6.1

**Elasticsearch version** :  
7.6.1

**APM Server version** :  
7.6.1

**APM Agent language and version** :  
5.6.1

**Browser version** :  
Latest version of Electron

I wonder whether Elastic APM RUM can handle stacktrace from Electron

I used rum agent, which be installed into Electron app, to report error to apm server. But I can't view source code mapping to stacktrace on Kibana.

I uploaded source map files which the field `bundle_filepath` doesn't contain parent folder path to apm server.  
And apm server received the stacktrace of error from Electron app, the field `abs_path` of stacktrace contains parent folder path, and Kibana told me ‘’No Sourcemap available‘’.

field `bundle_filepath` in sourcemap: /noteToolbar.js

field `abs_path` in stacktrace: /F:/parent\_folder\_path/noteToolbar.js

---

<div class="post-metadata">

**Author:** ![Hamidreza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hamidreza/32/21369_2.png) [@Hamidreza](https://discuss.elastic.co/u/Hamidreza)\
**Post date:** [November 19, 2020, 1:48pm UTC](https://discuss.elastic.co/t/can-elastic-apm-rum-handle-stacktrace-from-electron/255916/2 "2020-11-19T13:48:04Z")

</div>

Hi @Matrix,

The `bundle_filepath` needs to match the `abs_path` as well. Furthermore, make sure that `serviceName` and `serviceName` are also configured correctly in the agent.

I hope this helps.

Cheers,  
Hamid

---

<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:** [December 10, 2020, 9:48am UTC](https://discuss.elastic.co/t/can-elastic-apm-rum-handle-stacktrace-from-electron/255916/3 "2020-12-10T09:48:13Z")

</div>

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