# Messages are not al same, how to grok?

**URL:** https://discuss.elastic.co/t/messages-are-not-al-same-how-to-grok/273993
**Category:** Logstash
**Created:** [May 25, 2021, 10:14pm UTC](https://discuss.elastic.co/t/messages-are-not-al-same-how-to-grok/273993 "2021-05-25T22:14:53Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [May 25, 2021, 10:26pm UTC](https://discuss.elastic.co/t/messages-are-not-al-same-how-to-grok/273993/2 "2021-05-25T22:26:47Z")

</div>

Instead of using grok I would suggest using dissect and kv. There is an example [here](https://discuss.elastic.co/t/parsing-firewall-logs-in-logstash/212786/2).

---

_[View the full topic](https://discuss.elastic.co/t/messages-are-not-al-same-how-to-grok/273993)._
