# Grok Pattern for Discourse logs

**URL:** <https://discuss.elastic.co/t/grok-pattern-for-discourse-logs/79085>\
**Category:** Logstash\
**Created:** [March 17, 2017, 7:24pm UTC](https://discuss.elastic.co/t/grok-pattern-for-discourse-logs/79085 "2017-03-17T19:24:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackzampolin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jackzampolin/32/16460_2.png) [@jackzampolin](https://discuss.elastic.co/u/jackzampolin)\
**Post date:** [March 17, 2017, 7:24pm UTC](https://discuss.elastic.co/t/grok-pattern-for-discourse-logs/79085/1 "2017-03-17T19:24:15Z")

</div>

Hey!

I have a discourse site too! I would like to ingest the logs with logstash, but they log in a [custom format](https://github.com/discourse/discourse/blob/master/config/nginx.sample.conf#L28). Since this is the elastic community and also on discourse I thought I would see if anyone had a grok pattern that was working for these logs?

Jack

---

<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:** [April 14, 2017, 7:24pm UTC](https://discuss.elastic.co/t/grok-pattern-for-discourse-logs/79085/2 "2017-04-14T19:24:32Z")

</div>

Closed on April 14, 2017, 7:24pm UTC

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