# How to pattern input codec multiline

**URL:** <https://discuss.elastic.co/t/how-to-pattern-input-codec-multiline/81520>\
**Category:** Logstash\
**Created:** [April 6, 2017, 5:44pm UTC](https://discuss.elastic.co/t/how-to-pattern-input-codec-multiline/81520 "2017-04-06T17:44:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kongupradeep](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@kongupradeep](https://discuss.elastic.co/u/kongupradeep)\
**Post date:** [April 6, 2017, 5:44pm UTC](https://discuss.elastic.co/t/how-to-pattern-input-codec-multiline/81520/1 "2017-04-06T17:44:48Z")

</div>

please help me that my xml contain

\<?xml version="1.0" encoding="UTF-8"?\> \<?xml-stylesheet type="text/css" href="cd\_catalog.css"?\> Empire Burlesque Bob Dylan USA Columbia 10.90 1985 Hide your heart Bonnie Tyler UK CBS Records 9.90 1988 . . .

i want to split each child tag as a separate message event in my result..  
and another problem is how to in a looping in logstash..because i am contain two array that data should be set as a one array as a key and another array as a value form a json

---

<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 4, 2017, 5:44pm UTC](https://discuss.elastic.co/t/how-to-pattern-input-codec-multiline/81520/2 "2017-05-04T17:44:57Z")

</div>

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