# Problem to Test Grok pattern

**URL:** <https://community.graylog.org/t/problem-to-test-grok-pattern/16299>\
**Category:** Graylog Central (peer support)\
**Created:** [July 10, 2020, 8:48am UTC](https://community.graylog.org/t/problem-to-test-grok-pattern/16299 "2020-07-10T08:48:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![loudone](https://avatars.discourse-cdn.com/v4/letter/l/3da27b/32.png) [@loudone](https://community.graylog.org/u/loudone)\
**Post date:** [July 10, 2020, 8:48am UTC](https://community.graylog.org/t/problem-to-test-grok-pattern/16299/1 "2020-07-10T08:48:42Z")

</div>

Dear All,

I’m Trying to test Grok parsing with new extractor, but I always receive the same kind of error message

```
> We were not able to run the grok extraction. Please check your parameters.
> Details: Error: cannot POST http://IP_ADDRESS:9000/api/tools/grok_tester (500)

```

My graylog version is : **Graylog v3.2.4+a407287**

Could please tell me what is happen exactly? it seems I have this error message for every grok parse test

in Complement information, I receive those errors messages when I tried to test my Grok Patterns

```
 bluebird.js:1545 Unhandled rejection Error: cannot POST http://IP_ADDRESS:9000/api/tools/grok_tester (500) at http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:14:33502 at l (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:76:90514) at O._settlePromiseFromHandler (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:76:63769) at O._settlePromise (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:76:64569) at O._settlePromise0 (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:76:65268) at O._settlePromises (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:76:66484) at http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:76:20215From previous event: at O.F [as _captureStackTrace] (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:76:33566) at O._then (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:76:59226) at O.then (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:76:57582) at v.i.then (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:211:11348) at t.value (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:14:33062) at http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:14:29363 at exports.default (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:14:29380) at f.testGrok (http://IP_ADDRESS:9000/assets/builtins.8f8a24a8d49ce905d0ae.js:60:88883) at http://IP_ADDRESS:9000/assets/app.8f8a24a8d49ce905d0ae.js:82:806724 at Object.p (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:1049) at b (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:1192) at http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:1338 at T (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:1424) at k (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:1873) at A (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:1685) at Y (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:2033) at En (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:31030) at Hn (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:31628) at exports.unstable_runWithPriority (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:42:3998) at fi (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:41500) at Ws (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:79886) at jn (http://IP_ADDRESS:9000/assets/vendor.5452e7a2fdfb6282da0a.js:18:31313)
a @ droppable.js:1

DevTools failed to load SourceMap: Could not load content for http://IP_ADDRESS:9000/assets/plugin/org.graylog.plugins.threatintel.ThreatIntelPlugin/plugin.org.graylog.plugins.threatintel.ThreatIntelPlugin.3ac48f33775d03d4bd8f.js.map: HTTP error: status code 500, net::ERR_HTTP_RESPONSE_CODE_FAILURE

```

Many thank for your help

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [July 17, 2020, 11:54am UTC](https://community.graylog.org/t/problem-to-test-grok-pattern/16299/2 "2020-07-17T11:54:43Z")

</div>

you should update at least to the latest bug fix release in your branch version - to help you even more it would be good to know WHAT pattern you have tried to save.

---

<div class="post-metadata">

**Author:** ![loudone](https://avatars.discourse-cdn.com/v4/letter/l/3da27b/32.png) [@loudone](https://community.graylog.org/u/loudone)\
**Post date:** [July 20, 2020, 8:48am UTC](https://community.graylog.org/t/problem-to-test-grok-pattern/16299/3 "2020-07-20T08:48:42Z")

</div>

Hi Jan,

Many thank for your response, I think I found the reason of this problem.  
It seems that this server had jar plugin on different versions:

> -rw-r–r–. 1 root root 18031262 10 jun 20:55 graylog-plugin-aws-3.2.6.jar  
> -rw-r–r–. 1 root root 4512301 10 jun 20:55 graylog-plugin-collector-3.2.6.jar  
> -rw-r–r–. 1 root root 25876387 10 jun 20:55 graylog-plugin-enterprise-3.2.6.jar  
> -rw-r–r–. 1 root root 6977321 10 jun 20:56 graylog-plugin-enterprise-integrations-3.2.6.jar  
> -rw-r–r–. 1 root root 29970121 10 jun 20:55 graylog-plugin-integrations-3.2.6.jar  
> -rw-r–r–. 1 root root 6025823 10 jun 20:55 graylog-plugin-threatintel-3.2.6.jar

I think this server need to be reinstalled in order to work correctly

Other point, to answer your question, I received this kind of error for every Pattern tested

**example:**  
`%{GREEDYDATA:test}`

Kind regards

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [July 20, 2020, 11:41am UTC](https://community.graylog.org/t/problem-to-test-grok-pattern/16299/4 "2020-07-20T11:41:01Z")

</div>

yes, you need to have the same plugin version as your server that everything work correctly.

---

<div class="post-metadata">

**Author:** ![loudone](https://avatars.discourse-cdn.com/v4/letter/l/3da27b/32.png) [@loudone](https://community.graylog.org/u/loudone)\
**Post date:** [July 21, 2020, 11:19am UTC](https://community.graylog.org/t/problem-to-test-grok-pattern/16299/5 "2020-07-21T11:19:03Z")

</div>

Hello Jan,

Ok I solved this problem, for that, I only update my actual graylog installation with the following command:

`sudo yum update && sudo yum install graylog-server graylog-enterprise-plugins graylog-integrations-plugins graylog-enterprise-integrations-plugins`

Again many thanks for help

Kind regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [August 4, 2020, 11:19am UTC](https://community.graylog.org/t/problem-to-test-grok-pattern/16299/6 "2020-08-04T11:19:06Z")

</div>

Closed on August 4, 2020, 11:19am UTC

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