# A single event break into array based on patterns

**URL:** <https://discuss.elastic.co/t/a-single-event-break-into-array-based-on-patterns/129606>\
**Category:** Logstash\
**Created:** [April 26, 2018, 7:56am UTC](https://discuss.elastic.co/t/a-single-event-break-into-array-based-on-patterns/129606 "2018-04-26T07:56:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolecharles\_job](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolecharles_job/32/42674_2.png) [@wolecharles\_job](https://discuss.elastic.co/u/wolecharles_job)\
**Post date:** [April 26, 2018, 7:56am UTC](https://discuss.elastic.co/t/a-single-event-break-into-array-based-on-patterns/129606/1 "2018-04-26T07:56:05Z")

</div>

A single events is broken to an array based on the pattern matched..Something like this

**4/26/2018 12:00:19 3467272 done $30** ; **4/20/2018 12:03:19 3467273 done $40** ; **4/27/2018 12:03:19 3467274 done $40** ;

{  
[  
{  
date : "",  
time : "",  
seqId :"",  
originalStatus : "",  
amount : ""  
},  
{  
date : "",  
time : "",  
seqId :"",  
originalStatus : "",  
amount : ""  
},  
{  
date : "",  
time : "",  
seqId :"",  
originalStatus : "",  
amount : ""  
}  
]  
}

---

<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:** [May 24, 2018, 7:56am UTC](https://discuss.elastic.co/t/a-single-event-break-into-array-based-on-patterns/129606/2 "2018-05-24T07:56:16Z")

</div>

Closed on May 24, 2018, 7:56am UTC

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