# How can I check if a log file was analyzed by logstash or not?

**URL:** <https://discuss.elastic.co/t/how-can-i-check-if-a-log-file-was-analyzed-by-logstash-or-not/310375>\
**Category:** Logstash\
**Created:** [July 22, 2022, 9:22am UTC](https://discuss.elastic.co/t/how-can-i-check-if-a-log-file-was-analyzed-by-logstash-or-not/310375 "2022-07-22T09:22:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![maoxuguang](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@maoxuguang](https://discuss.elastic.co/u/maoxuguang)\
**Post date:** [July 22, 2022, 9:22am UTC](https://discuss.elastic.co/t/how-can-i-check-if-a-log-file-was-analyzed-by-logstash-or-not/310375/1 "2022-07-22T09:22:49Z")

</div>

I found one of my log is missing in elasticsearch， how can I know if logstash analyzed it or not? or how can I know what problem logstah meet? In logstash-plain.log the information is limited, there is no information about which file logstash analyzed.

---

<div class="post-metadata">

**Author:** ![maoxuguang](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@maoxuguang](https://discuss.elastic.co/u/maoxuguang)\
**Post date:** [July 26, 2022, 1:56am UTC](https://discuss.elastic.co/t/how-can-i-check-if-a-log-file-was-analyzed-by-logstash-or-not/310375/2 "2022-07-26T01:56:52Z")

</div>

why no one check my question?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 27, 2022, 11:56pm UTC](https://discuss.elastic.co/t/how-can-i-check-if-a-log-file-was-analyzed-by-logstash-or-not/310375/3 "2022-07-27T23:56:28Z")

</div>

I think you'd need to provide a bit more information here for someone to be able to help.

What does your config look like? If it's too large, then just the input section that should have processed the file in question would help.

---

<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 24, 2022, 11:56pm UTC](https://discuss.elastic.co/t/how-can-i-check-if-a-log-file-was-analyzed-by-logstash-or-not/310375/4 "2022-08-24T23:56:48Z")

</div>

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