# Grok Pattern for Nginx logs

**URL:** <https://meta.discourse.org/t/grok-pattern-for-nginx-logs/59372>\
**Category:** Development\
**Created:** [17 Marzo, 2017 19:18 UTC](https://meta.discourse.org/t/grok-pattern-for-nginx-logs/59372 "2017-03-17T19:18:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [17 Marzo, 2017 20:32 UTC](https://meta.discourse.org/t/grok-pattern-for-nginx-logs/59372/3 "2017-03-17T20:32:25Z")

</div>

We have this 🙂

[https://github.com/discourse/discourse/blob/master/plugins/discourse-nginx-performance-report/lib/log\_analyzer.rb#L11-L15](https://github.com/discourse/discourse/blob/master/plugins/discourse-nginx-performance-report/lib/log_analyzer.rb#L11-L15)

It is in ruby and probably easily portable to an elastic grok rule

---

_[View the full topic](https://meta.discourse.org/t/grok-pattern-for-nginx-logs/59372)._
