# How Logstash or filebeat determins the type of logs?

**URL:** <https://discuss.elastic.co/t/how-logstash-or-filebeat-determins-the-type-of-logs/227779>\
**Category:** Logstash\
**Created:** [April 13, 2020, 1:44pm UTC](https://discuss.elastic.co/t/how-logstash-or-filebeat-determins-the-type-of-logs/227779 "2020-04-13T13:44:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gauravbhutani30](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@gauravbhutani30](https://discuss.elastic.co/u/gauravbhutani30)\
**Post date:** [April 13, 2020, 1:44pm UTC](https://discuss.elastic.co/t/how-logstash-or-filebeat-determins-the-type-of-logs/227779/1 "2020-04-13T13:44:51Z")

</div>

How does the logstash or the filebeat determine the type of logs, we just provide "type = syslogs" or any other. I want to parse a custom log file, which has text in it.  
Please help!

---

<div class="post-metadata">

**Author:** ![gauravbhutani30](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@gauravbhutani30](https://discuss.elastic.co/u/gauravbhutani30)\
**Post date:** [April 16, 2020, 7:33am UTC](https://discuss.elastic.co/t/how-logstash-or-filebeat-determins-the-type-of-logs/227779/2 "2020-04-16T07:33:33Z")

</div>

Please 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:** [May 14, 2020, 7:33am UTC](https://discuss.elastic.co/t/how-logstash-or-filebeat-determins-the-type-of-logs/227779/3 "2020-05-14T07:33:34Z")

</div>

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