# Filebeat prospector\_format

**URL:** <https://discuss.elastic.co/t/filebeat-prospector-format/133606>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 29, 2018, 2:47am UTC](https://discuss.elastic.co/t/filebeat-prospector-format/133606 "2018-05-29T02:47:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh\_Vj](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@Josh\_Vj](https://discuss.elastic.co/u/Josh_Vj)\
**Post date:** [May 29, 2018, 2:47am UTC](https://discuss.elastic.co/t/filebeat-prospector-format/133606/1 "2018-05-29T02:47:59Z")

</div>

Hi, i have below settigs in filebeat.yaml  
type: log  
multiline.pattern: '^\<!--'  
multiline.negate: true  
multiline.match: after

below is the message I m trying stream into ECS. But in ECS all the below lines are formatted as a separate message. Is there a way file beat will read the below as one single message

\<ExecuteMultipleOperations\_Transaction\>  
ExecuteMultipleOperations  
hostname  
[https://hostname.domain.local/svc](https://hostname.domain.local/svc)  
hostname$  
87  
  
00:00:00.0300000  
  
\</ExecuteMultipleOperations\_Transaction\>

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [June 1, 2018, 11:00am UTC](https://discuss.elastic.co/t/filebeat-prospector-format/133606/2 "2018-06-01T11:00:39Z")

</div>

You your log messages are always between XML tags you can use the following multiline options:

```auto
multiline.pattern: ^</
multiline.negate: true
multiline.match: before

```

---

<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:** [June 29, 2018, 11:00am UTC](https://discuss.elastic.co/t/filebeat-prospector-format/133606/3 "2018-06-29T11:00:40Z")

</div>

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