# Logstash \_grokparsefailure . Unable to find issue

**URL:** <https://discuss.elastic.co/t/logstash--grokparsefailure-unable-to-find-issue/61845>\
**Category:** Logstash\
**Created:** [September 29, 2016, 6:58pm UTC](https://discuss.elastic.co/t/logstash--grokparsefailure-unable-to-find-issue/61845 "2016-09-29T18:58:27Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![chromechris](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@chromechris](https://discuss.elastic.co/u/chromechris)\
**Post date:** [October 6, 2016, 9:02pm UTC](https://discuss.elastic.co/t/logstash--grokparsefailure-unable-to-find-issue/61845/15 "2016-10-06T21:02:34Z")

</div>

> [@magnusbaeck](#):
>
> he grok filter in file

If I have:  
File A  
filter {  
if [app] == "app1" {  
mutate {  
add\_field =\> { "type" =\> "type1" }  
}  
grok {  
match =\> ["message", "this pattern matches my log file"]  
}  
}  
}

File B  
filter {  
if [app] == "app2" {  
mutate {  
add\_field =\> { "type" =\> "type1" }  
}  
grok {  
match =\> ["message", "this pattern matches my log file"]  
}  
}  
}

Will there be any issues with both of these having the same type, even though I first split them by a different "app" field value?

---

_[View the full topic](https://discuss.elastic.co/t/logstash--grokparsefailure-unable-to-find-issue/61845)._
