# Grep multiline log

**URL:** https://discuss.elastic.co/t/grep-multiline-log/103664
**Category:** Logstash
**Created:** [October 12, 2017, 7:29am UTC](https://discuss.elastic.co/t/grep-multiline-log/103664 "2017-10-12T07:29:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Vivek\_Nigam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivek_nigam/32/25094_2.png) [@Vivek\_Nigam](https://discuss.elastic.co/u/Vivek_Nigam)
#### Post date: [October 12, 2017, 7:29am UTC](https://discuss.elastic.co/t/grep-multiline-log/103664/1 "2017-10-12T07:29:42Z")

</div>

i am new to logstash, Its two line log i want to extract following fields in BOLD & exclude other contents & grep date from file name, how this can achieve through grok filter, could you please help me on this, thanks.

; SERVLOG1 **00:00:28**.455 25614 |INFO|  
Finish scanning **Ziptab** priority **[6]**, cursor closed. Total cycling time: **[60]** sec. **[5]** records

---

<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: [November 9, 2017, 7:29am UTC](https://discuss.elastic.co/t/grep-multiline-log/103664/2 "2017-11-09T07:29:45Z")

</div>

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