# Logstash & JSON array split

**URL:** <https://discuss.elastic.co/t/logstash-json-array-split/324180>\
**Category:** Logstash\
**Created:** [January 29, 2023, 5:52pm UTC](https://discuss.elastic.co/t/logstash-json-array-split/324180 "2023-01-29T17:52:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jalpesh1689](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jalpesh1689/32/116489_2.png) [@Jalpesh1689](https://discuss.elastic.co/u/Jalpesh1689)\
**Post date:** [January 29, 2023, 5:52pm UTC](https://discuss.elastic.co/t/logstash-json-array-split/324180/1 "2023-01-29T17:52:38Z")

</div>

Hi Team,

We have below array of JSON & want to ingest these JSON into Elasticsearch.  
We want split this & ingest into 2 rows :

[{  
"RequestEventList":[  
{  
"Instant":"2015-09-28T12:46:50.713Z",  
"RequestKey":"11bcf87b-35ca-44dc-b4b3-567db2a159cb",  
"RequestEventName":"WebScreenClientExecuted",  
"ModuleKey":"1e758d31-e7de-4641-a731-d3976254108d",  
"ModuleName":"PerformanceSampleDat",  
"ApplicationKey":"d026f21a-cbe8-490e-8fbb-47b7fe0db79e",  
"ApplicationName":"Performance Sample Data",  
"RequestEventDetails":{  
"AK":"7449c66a-9863-4673-91c0-cb0440344497",  
"AN":"StartBootstrap",  
"EPK":"5a0a2e6c-570f-414f-9b19-ee2cafde273d",  
"EPN":"HomePage",  
"TK":"6284e8bf-2aa5-50a4-f1bc-9918c2801df6",  
"TN":"Users",  
"EK":"c5be45ac-ccac-4091-a825-d6a7bb9554a0",  
"EN":"Development",  
"FN":"qaos1296lt5308",  
"VK":"d6aa213f-6b4a-42b6-8e39-6624008a576a",  
"ViK":"82359545-98b8-4010-8c72-cca1a2fe7b3b",  
"SK":"73562726-2f4f-9bc1-9f44-6219febee940",  
"UK":"666d9979-32be-4b2d-5271-d267d996bfca",  
"SR":"1680x1050",  
"D":314,  
"LT":2,  
"TTFB":312,  
"TTLB":312,  
"UA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_10\_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36"  
}  
},  
{  
"Instant":"2015-09-28T12:46:51.037Z",  
"RequestKey":"ad133aee-5cc9-4eb9-8faf-016d2b811d0c",  
"RequestEventName":"WebScreenClientExecuted",  
"ModuleKey":"1e758d31-e7de-4641-a731-d3976254108d",  
"ModuleName":"PerformanceSampleDat",  
"ApplicationKey":"d026f21a-cbe8-490e-8fbb-47b7fe0db79e",  
"ApplicationName":"Performance Sample Data",  
"RequestEventDetails":{  
"AK":"f6151d08-6edd-01a7-e402-8f5a6a6fce40",  
"AN":"Feedback\_Message.Refresh",  
"EPK":"5a0a2e6c-570f-414f-9b19-ee2cafde273d",  
"EPN":"HomePage",  
"TK":"6284e8bf-2aa5-50a4-f1bc-9918c2801df6",  
"TN":"Users",  
"EK":"c5be45ac-ccac-4091-a825-d6a7bb9554a0",  
"EN":"Development",  
"FN":"qaos1296lt5308",  
"VK":"d6aa213f-6b4a-42b6-8e39-6624008a576a",  
"ViK":"82359545-98b8-4010-8c72-cca1a2fe7b3b",  
"SK":"73562726-2f4f-9bc1-9f44-6219febee940",  
"UK":"666d9979-32be-4b2d-5271-d267d996bfca",  
"SR":"1680x1050",  
"D":179,  
"LT":24,  
"TTFB":155,  
"TTLB":155,  
"UA":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_10\_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36"  
}  
}  
],  
"ResultsTruncated":false  
}  
]

Please suggest.

Regards,  
Jalpesh

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 29, 2023, 6:16pm UTC](https://discuss.elastic.co/t/logstash-json-array-split/324180/2 "2023-01-29T18:16:56Z")

</div>

I just answered that [here](https://discuss.elastic.co/t/logstash-array-of-json/324178/3).

---

<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:** [February 26, 2023, 6:17pm UTC](https://discuss.elastic.co/t/logstash-json-array-split/324180/3 "2023-02-26T18:17:39Z")

</div>

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