# What is the best way to write grok pattern for below Log

**URL:** <https://discuss.elastic.co/t/what-is-the-best-way-to-write-grok-pattern-for-below-log/223646>\
**Category:** Logstash\
**Created:** [March 15, 2020, 6:31am UTC](https://discuss.elastic.co/t/what-is-the-best-way-to-write-grok-pattern-for-below-log/223646 "2020-03-15T06:31:54Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 15, 2020, 4:06pm UTC](https://discuss.elastic.co/t/what-is-the-best-way-to-write-grok-pattern-for-below-log/223646/5 "2020-03-15T16:06:46Z")

</div>

Another option would be to use dissect rather than grok. Like [this](https://discuss.elastic.co/t/how-to-parse-mix-json-logs/167594/2).

---

_[View the full topic](https://discuss.elastic.co/t/what-is-the-best-way-to-write-grok-pattern-for-below-log/223646)._
