# Logs are not parsing properly

**URL:** <https://discuss.elastic.co/t/logs-are-not-parsing-properly/207307>\
**Category:** Logstash\
**Created:** [November 11, 2019, 8:48am UTC](https://discuss.elastic.co/t/logs-are-not-parsing-properly/207307 "2019-11-11T08:48:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sundaramoorthy\_Anand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sundaramoorthy_anand/32/47787_2.png) [@Sundaramoorthy\_Anand](https://discuss.elastic.co/u/Sundaramoorthy_Anand)\
**Post date:** [November 11, 2019, 8:48am UTC](https://discuss.elastic.co/t/logs-are-not-parsing-properly/207307/1 "2019-11-11T08:48:28Z")

</div>

My architecture is

**`*Filebeat A*`** (remote) \> **Logstash A** (2 pipelines) \> **Elasticsearch A** \> **Kibana A**  
**`*Filebeat B*`** (remote) \> **Logstash A** (2 pipelines) \> **Elasticsearch A** \> **Kibana A**

Its for logs analysis.

say my logs format is `abc_logs-yyyy.mm.dd.log`

> My `Filebeats` are pushing logs to `Logstash` (I can see in `data/registry` file) but `Logstash` is **NOT** creating index for some of the log files.

say, `abc_logs-2019.11.02.log` is there in my log location and also `Filebeat` pushed it to `Logstash`. But I can't see any index created in elasticsearch.

Also, **one extra problem**.

> Even if the indexes are created, **NOT** all valid logs are getting parsed.  
> Like if a log file has `100 correct log` format (as in `grok` filter pattern of  
> `logstash.yml` file) only `60%-70%` data is shown in elasticsearch..  
> around 40% data is getting dropped .. I don't know what is the exact reason..

If I check the unparsed logs in grok debugger with the specified grok pattern, it is parsing perfectly.

Any solution for this problem?

---

<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:** [December 9, 2019, 8:48am UTC](https://discuss.elastic.co/t/logs-are-not-parsing-properly/207307/2 "2019-12-09T08:48:33Z")

</div>

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