cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Extract Records forn Array

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

carlos_carreno_0-1730499449376.png

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

carlos_carreno_1-1730499541773.png

thanks

 

 
2 REPLIES 2

DavidRitter
Dynatrace Helper
Dynatrace Helper

Hey Carlos,

You will want to do add a 'expand':

| expand array

 

mosharref_hossn
Observer

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

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

@carlos_carreno wrote:

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

carlos_carreno_0-1730499449376.png

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

carlos_carreno_1-1730499541773.png

thanks

 

 

 

Featured Posts