# Recursively fetch content

**URL:** <https://discuss.elastic.co/t/recursively-fetch-content/156976>\
**Category:** Logstash\
**Created:** [November 16, 2018, 4:40am UTC](https://discuss.elastic.co/t/recursively-fetch-content/156976 "2018-11-16T04:40:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karanth](https://avatars.discourse-cdn.com/v4/letter/k/a88e57/32.png) [@Karanth](https://discuss.elastic.co/u/Karanth)\
**Post date:** [November 16, 2018, 4:40am UTC](https://discuss.elastic.co/t/recursively-fetch-content/156976/1 "2018-11-16T04:40:06Z")

</div>

I have a log that has below pattern

name = name1 Some message about name1  
name = name1 Some more message about name1

name = name2 This is about name2  
name = name2 This is also about name2

Can someone please tell me how can I separate name1, name2 and so on into one field and the messages corresponding to it in another?

If I use split using 'name =', then only first occurrence I will get. Which other plugin can I use? The message does not have key value format either so I may not be able to use kv filter.  
Thank you in advance

---

<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:** [December 14, 2018, 4:51am UTC](https://discuss.elastic.co/t/recursively-fetch-content/156976/2 "2018-12-14T04:51:57Z")

</div>

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