# Some of my random logs are not parsing from the whole log file.What could be the possible reason for this?

**URL:** <https://discuss.elastic.co/t/some-of-my-random-logs-are-not-parsing-from-the-whole-log-file-what-could-be-the-possible-reason-for-this/189916>\
**Category:** Logstash\
**Created:** [July 11, 2019, 6:44am UTC](https://discuss.elastic.co/t/some-of-my-random-logs-are-not-parsing-from-the-whole-log-file-what-could-be-the-possible-reason-for-this/189916 "2019-07-11T06:44:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepanshu\_goel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepanshu_goel/32/48061_2.png) [@deepanshu\_goel](https://discuss.elastic.co/u/deepanshu_goel)\
**Post date:** [July 11, 2019, 6:44am UTC](https://discuss.elastic.co/t/some-of-my-random-logs-are-not-parsing-from-the-whole-log-file-what-could-be-the-possible-reason-for-this/189916/1 "2019-07-11T06:44:25Z")

</div>

Every time when i parse my log file there are some random logs which are not being parsed (every time a random set ).

---

<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:** [July 11, 2019, 1:28pm UTC](https://discuss.elastic.co/t/some-of-my-random-logs-are-not-parsing-from-the-whole-log-file-what-could-be-the-possible-reason-for-this/189916/2 "2019-07-11T13:28:54Z")

</div>

You have not supplied enough information for anyone to answer. Can you give examples of the logs that are not parsed and what the failing filters look like?

---

<div class="post-metadata">

**Author:** ![deepanshu\_goel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepanshu_goel/32/48061_2.png) [@deepanshu\_goel](https://discuss.elastic.co/u/deepanshu_goel)\
**Post date:** [July 12, 2019, 10:14am UTC](https://discuss.elastic.co/t/some-of-my-random-logs-are-not-parsing-from-the-whole-log-file-what-could-be-the-possible-reason-for-this/189916/3 "2019-07-12T10:14:28Z")

</div>

I am using this as my current filter :-  
filter {  
grok {  
match =\> ["message", "(?m)^%{TIMESTAMP\_ISO8601:logtime}%{SPACE}%{WORD:xevent}%{SPACE}%{WORD:protocol}%{SPACE}%{IP:ip1}:%{INT:port1} -\>%{SPACE}%{IP:ip2}:%{INT:port2}%{INT:Inbyte}%{SPACE}%{INT:Outbyte}"]  
}  
date {  
match =\> ["logtime", "yyyy-MM-dd HH:mm:ss.SSS"]  
}  
}  
But i am having the issue that m data is not parsing correctly:  
tags  
-  
-  
-  
-  
-  
-  
-  
-  
\_grokparsefailure  
\_grokparsefailure  
\_grokparsefailure  
-  
\_grokparsefailure  
{The tags with a "-" sign are parsing but the otherones are not parsing}  
[My whole log file is same without any different logs]  
(I hope this might make my question more clear to all )

---

<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:** [July 12, 2019, 4:42pm UTC](https://discuss.elastic.co/t/some-of-my-random-logs-are-not-parsing-from-the-whole-log-file-what-could-be-the-possible-reason-for-this/189916/4 "2019-07-12T16:42:55Z")

</div>

Again, you have given no indication of what the data you are trying to parse looks like.

---

<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:** [August 9, 2019, 4:56pm UTC](https://discuss.elastic.co/t/some-of-my-random-logs-are-not-parsing-from-the-whole-log-file-what-could-be-the-possible-reason-for-this/189916/5 "2019-08-09T16:56:54Z")

</div>

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