# Multiple grok pattern, really multiple?

**URL:** https://discuss.elastic.co/t/multiple-grok-pattern-really-multiple/301166
**Category:** Logstash
**Created:** [March 31, 2022, 8:10am UTC](https://discuss.elastic.co/t/multiple-grok-pattern-really-multiple/301166 "2022-03-31T08:10:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lgllrd](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@lgllrd](https://discuss.elastic.co/u/lgllrd)
#### Post date: [March 31, 2022, 8:10am UTC](https://discuss.elastic.co/t/multiple-grok-pattern-really-multiple/301166/1 "2022-03-31T08:10:00Z")

</div>

Hello,

I'm trying to use the multiple grok pattern as in the documentation ( [Grok filter plugin | Logstash Reference [8.1] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html#plugins-filters-grok-match) ) but I notice that it only handles the first two patterns.

Here is my filter :

```nohighlight
{
    grok {
        match => {
            "message" => [
                "thing1=%{DATA:thing1},",
                "thing2=%{DATA:thing2},",
                "thing3=%{DATA:thing3},"
            ]
        }
    }
}

```

So I have two questions:

- Are the patterns independent of each other?
- What did I miss?

Thanks for your answers 🙂

---

<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 31, 2022, 5:05pm UTC](https://discuss.elastic.co/t/multiple-grok-pattern-really-multiple/301166/2 "2022-03-31T17:05:04Z")

</div>

What does [message] look like? What do the results look like? Do you need to use break\_on\_match =\> false?

---

<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 28, 2022, 5:05pm UTC](https://discuss.elastic.co/t/multiple-grok-pattern-really-multiple/301166/3 "2022-04-28T17:05:18Z")

</div>

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