# How to parse a stringify sale on the label?

**URL:** <https://discuss.elastic.co/t/how-to-parse-a-stringify-sale-on-the-label/347794>\
**Category:** Kibana\
**Created:** [November 22, 2023, 10:25pm UTC](https://discuss.elastic.co/t/how-to-parse-a-stringify-sale-on-the-label/347794 "2023-11-22T22:25:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiagobr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiagobr/32/123162_2.png) [@thiagobr](https://discuss.elastic.co/u/thiagobr)\
**Post date:** [November 22, 2023, 10:25pm UTC](https://discuss.elastic.co/t/how-to-parse-a-stringify-sale-on-the-label/347794/1 "2023-11-22T22:25:52Z")

</div>

I'm using the library `"@elastic/apm-rum-angular": "^2.1.7"` for Angular 11, I'm already receiving the data through `transaction` + `span` + `addLabels`.

However, the addLabel parameter only accepts string, boolean or number, as I need to pass an array to get this data and create a dashboard with it, I passed it as a string, using `JSON.stringfy()`.

How do I parse it into Elastic and use each index and property in this array to create a dashboard?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/6/66c3ed0b9c0f32239cb4e1ad816f8e3df22ae126.png)

---

<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 20, 2023, 10:26pm UTC](https://discuss.elastic.co/t/how-to-parse-a-stringify-sale-on-the-label/347794/2 "2023-12-20T22:26:45Z")

</div>

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