# Grok parse failures .. Grok syntax

**URL:** <https://discuss.elastic.co/t/grok-parse-failures-grok-syntax/152083>\
**Category:** Logstash\
**Created:** [October 11, 2018, 3:28pm UTC](https://discuss.elastic.co/t/grok-parse-failures-grok-syntax/152083 "2018-10-11T15:28:33Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Makra](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@Makra](https://discuss.elastic.co/u/Makra)\
**Post date:** [October 12, 2018, 8:18am UTC](https://discuss.elastic.co/t/grok-parse-failures-grok-syntax/152083/21 "2018-10-12T08:18:58Z")

</div>

Yeah that may be the case, i have also able to parse without any \_grokparsefailure with the following grok.

```
filter {

          grok {

                  match => { "message" => '\[%{TIMESTAMP_ISO8601:timestamp}\] %{HTTPDUSER:EVENTUSER} %{WORD:EVENT} \[%{NUMBER:ID}:%{GREEDYDATA:STATE}\] %{GREEDYDATA:project} %{HTTPDUSER:USER}/ %{HTTPDUSER:abortedby} "%{GREEDYDATA:PATH}/%{GREEDYDATA:jobName}"\[%{GREEDYDATA:uuid}\]' }

          }

}

```

[[Album] Imgur ![](https://i.imgur.com/9swjiIB.jpg?fb "Imgur") ](https://imgur.com/a/4gcS2k6)

---

<div class="post-metadata">

**Author:** ![ranganath\_nangineni](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@ranganath\_nangineni](https://discuss.elastic.co/u/ranganath_nangineni)\
**Post date:** [October 12, 2018, 8:21am UTC](https://discuss.elastic.co/t/grok-parse-failures-grok-syntax/152083/22 "2018-10-12T08:21:44Z")

</div>

> [@Makra](#):
>
> %{HTTPDUSER:abortedby}

The problem was with the spacing at this %{HTTPDUSER:abortedby}. This should be without any spaces to the adjacent /.

---

<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:** [November 9, 2018, 8:22am UTC](https://discuss.elastic.co/t/grok-parse-failures-grok-syntax/152083/23 "2018-11-09T08:22:42Z")

</div>

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

[Previous page](https://discuss.elastic.co/t/grok-parse-failures-grok-syntax/152083.md?page=1)
