# Problem tag \_grokparsefailure

**URL:** <https://discuss.elastic.co/t/problem-tag-grokparsefailure/119044>\
**Category:** Logstash\
**Created:** [February 8, 2018, 1:09pm UTC](https://discuss.elastic.co/t/problem-tag-grokparsefailure/119044 "2018-02-08T13:09:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samsam](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@samsam](https://discuss.elastic.co/u/samsam)\
**Post date:** [February 8, 2018, 1:09pm UTC](https://discuss.elastic.co/t/problem-tag-grokparsefailure/119044/1 "2018-02-08T13:09:28Z")

</div>

Hello everyone,  
I have logstash's problème on TAG.  
I have this filter in conf : `filter {

if "kibana" in [message] { drop { } }  
grok {  
match =\> ["message", "%{SYSLOGTIMESTAMP:log\_timestamp} %{GREEDYDATA:message}"]  
overwrite =\> ["message"]  
add\_tag =\> ["grokked"]  
}  
date {  
match =\> ["log\_timestamp", "MMM dd HH:mm:ss", "MMM dd HH:mm:ss"]  
target =\> "log\_timestamp"  
}  
mutate {  
rename =\> { "log\_timestamp" =\> "timelog" }  
rename =\> { " log\_timestamp\_ISO8601" =\> "timelog" }  
}

if "\_grokparsefailure" in [tags] {  
mutate {  
remove\_tag =\> ["\_grokparsefailure"]  
add\_tag =\> ["grokked2"]  
}  
}  
}  
`

The problem is that the logs pass the grok well since they have the tag "grokked", but he have "\_grokparsefailure " tag too.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/1/91a2ad2a1332affd3cdf4506219764faedf1d4b1.png)

How can I proceed please? Thank you !

---

<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:** [March 8, 2018, 1:09pm UTC](https://discuss.elastic.co/t/problem-tag-grokparsefailure/119044/2 "2018-03-08T13:09:45Z")

</div>

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