# Grok Filter from NAS Synology

**URL:** <https://discuss.elastic.co/t/grok-filter-from-nas-synology/153730>\
**Category:** Logstash\
**Created:** [October 24, 2018, 6:46am UTC](https://discuss.elastic.co/t/grok-filter-from-nas-synology/153730 "2018-10-24T06:46:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahmat\_Agung\_W](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Rahmat\_Agung\_W](https://discuss.elastic.co/u/Rahmat_Agung_W)\
**Post date:** [October 24, 2018, 6:46am UTC](https://discuss.elastic.co/t/grok-filter-from-nas-synology/153730/1 "2018-10-24T06:46:50Z")

</div>

I have no clue how to filter this line log. Maybe someone wanna help.

```
User [guest] from [S07(192.168.99.2)] via [CIFS(SMB2)] accessed shared folder [GAME].
User [guest] from [L33(192.168.99.7)] via [CIFS(SMB2)] accessed shared folder [SOFTWARE AND TOOLS].
User [guest] from [M27(192.168.1.127)] via [CIFS(SMB2)] accessed shared folder [GAME].
User [ftp] from [192.168.99.7] logged in successfully via [FTP].

```

I want take this part ---\> guest:username,S07:hostname, 192.168.99.2:ipaddress, CIFS(SMB2):protocol, GAME:folder  
...

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 24, 2018, 9:50am UTC](https://discuss.elastic.co/t/grok-filter-from-nas-synology/153730/2 "2018-10-24T09:50:38Z")

</div>

What have you tried?

---

<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 21, 2018, 9:50am UTC](https://discuss.elastic.co/t/grok-filter-from-nas-synology/153730/3 "2018-11-21T09:50:39Z")

</div>

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