# How are logstash grok definitions updated?

**URL:** <https://discuss.elastic.co/t/how-are-logstash-grok-definitions-updated/335452>\
**Category:** Logstash\
**Created:** [June 7, 2023, 5:05pm UTC](https://discuss.elastic.co/t/how-are-logstash-grok-definitions-updated/335452 "2023-06-07T17:05:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lreger](https://avatars.discourse-cdn.com/v4/letter/l/ecae2f/32.png) [@lreger](https://discuss.elastic.co/u/lreger)\
**Post date:** [June 7, 2023, 5:05pm UTC](https://discuss.elastic.co/t/how-are-logstash-grok-definitions-updated/335452/1 "2023-06-07T17:05:03Z")

</div>

How do I find out what my current version of logstash core patterns are running on my logstash cluster? I am running 7.17.1, but I suspect I am not running grok core patterns 4.34 ecsv1. I would like to have access to some of the patterns in here. Obviously, I could just copy these patterns into my patterns folders myself, but is this always necessary or is there a way to keep up with these better?

Thanks for any help.

---

<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:** [June 7, 2023, 5:35pm UTC](https://discuss.elastic.co/t/how-are-logstash-grok-definitions-updated/335452/2 "2023-06-07T17:35:41Z")

</div>

If you want to know what is installed I would suggest

```
find /usr/share/logstash -type d -name patterns

```

If it is not installed you would need to copy what patterns you want to your own folder or use the pattern\_definitions option on the grok filter.

---

<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:** [July 5, 2023, 5:36pm UTC](https://discuss.elastic.co/t/how-are-logstash-grok-definitions-updated/335452/3 "2023-07-05T17:36:39Z")

</div>

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