# \[SOLVED\] Where to set log pattern?

**URL:** <https://discuss.elastic.co/t/solved-where-to-set-log-pattern/50956>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 25, 2016, 3:28pm UTC](https://discuss.elastic.co/t/solved-where-to-set-log-pattern/50956 "2016-05-25T15:28:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbismuth](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@cbismuth](https://discuss.elastic.co/u/cbismuth)\
**Post date:** [May 25, 2016, 3:28pm UTC](https://discuss.elastic.co/t/solved-where-to-set-log-pattern/50956/1 "2016-05-25T15:28:45Z")

</div>

Hi,

I've successfully managed to ship JSON structured logs to Kibana 4.5.1 with Filebeat 5.0.0-alpha2.

I've created second prospector in my filebeat.yml to parse simple traditional log lines stored in others log files. But I can't understand where should I set a regexp pattern to tell Filebeat how to parse these traditional log lines.

Does someone know how to do this, please?

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [May 25, 2016, 3:30pm UTC](https://discuss.elastic.co/t/solved-where-to-set-log-pattern/50956/2 "2016-05-25T15:30:28Z")

</div>

Filebeat doesn't parse logs. You'll typically want to use Logstash for that.

---

<div class="post-metadata">

**Author:** ![cbismuth](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@cbismuth](https://discuss.elastic.co/u/cbismuth)\
**Post date:** [May 25, 2016, 6:36pm UTC](https://discuss.elastic.co/t/solved-where-to-set-log-pattern/50956/3 "2016-05-25T18:36:23Z")

</div>

That's alright, thank you Magnus.

---

<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:** [July 5, 2017, 9:51pm UTC](https://discuss.elastic.co/t/solved-where-to-set-log-pattern/50956/4 "2017-07-05T21:51:31Z")

</div>


