# Extract Records forn Array

**URL:** <https://community.dynatrace.com/t/extract-records-forn-array/48675>\
**Category:** DQL\
**Tags:** dql\
**Created:** [November 1, 2024, 10:20pm UTC](https://community.dynatrace.com/t/extract-records-forn-array/48675 "2024-11-01T22:20:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlos\_carreno](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/carlos_carreno/32/28820_2.png) [@carlos\_carreno](https://community.dynatrace.com/u/carlos_carreno)\
**Post date:** [November 1, 2024, 10:20pm UTC](https://community.dynatrace.com/t/extract-records-forn-array/48675/1 "2024-11-01T22:20:04Z")

</div>

Good afternoon, how can I extract the entries from this column and convert each entry into rows?

 ![carlos_carreno_0-1730499449376.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/7/37e9a093593186133c793c98b760585420f1074d.png)

I need to extract the information from each entry and create a row for each of those entries.

 ![carlos_carreno_1-1730499541773.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/a/ca13a1c713228a3aeeabd324ae9a818636c18b9c.png)

thanks

---

<div class="post-metadata">

**Author:** ![DavidRitter](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/davidritter/32/10328_2.png) [@DavidRitter](https://community.dynatrace.com/u/DavidRitter)\
**Post date:** [November 7, 2024, 1:34pm UTC](https://community.dynatrace.com/t/extract-records-forn-array/48675/2 "2024-11-07T13:34:43Z")

</div>

Hey Carlos,

You will want to do add a ‘expand’:

```markup
| expand array

```

---

<div class="post-metadata">

**Author:** ![mosharref\_hossn](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mosharref_hossn/32/32184_2.png) [@mosharref\_hossn](https://community.dynatrace.com/u/mosharref_hossn)\
**Post date:** [November 12, 2024, 9:45pm UTC](https://community.dynatrace.com/t/extract-records-forn-array/48675/3 "2024-11-12T21:45:25Z")

</div>

I believe you can use the “expand” command to flatten the array and parse out the data using JSON object naming convention.

```markup
data record(value = "[{\"hello\" : \"world\"}]")
| parse value, "JSON_ARRAY:greeting"
| fields greeting
| expand greeting
| fieldsAdd greeting=greeting[hello]

```

> [@carlos\_carreno](https://community.dynatrace.com/user/69929)&nbsp;wrote:
> 
> Good afternoon, how can I extract the entries from this column and convert each entry into rows?
> 
> ![carlos_carreno_0-1730499449376.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/7/37e9a093593186133c793c98b760585420f1074d.png)
> 
> I need to extract the information from each entry and create a row for each of those entries.
> 
> ![carlos_carreno_1-1730499541773.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/a/ca13a1c713228a3aeeabd324ae9a818636c18b9c.png)
> 
> thanks
