# How to load a log file and apply grok filters without using Filebeat

**URL:** <https://discuss.elastic.co/t/how-to-load-a-log-file-and-apply-grok-filters-without-using-filebeat/197185>\
**Category:** Logstash\
**Created:** [August 28, 2019, 6:34pm UTC](https://discuss.elastic.co/t/how-to-load-a-log-file-and-apply-grok-filters-without-using-filebeat/197185 "2019-08-28T18:34:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmiklas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmiklas/32/50730_2.png) [@kmiklas](https://discuss.elastic.co/u/kmiklas)\
**Post date:** [August 28, 2019, 6:34pm UTC](https://discuss.elastic.co/t/how-to-load-a-log-file-and-apply-grok-filters-without-using-filebeat/197185/1 "2019-08-28T18:34:34Z")

</div>

How can a log file be loaded, and grok filters in our `.conf` file applied without using filebeat?

In other words, and I manually load a log into logstash and apply our grok filters (as we would in Filebeat)? Thx, Keith :^)

For example, I have a log file named windows\_server\_03.log, which has 3,000,000 log lines. I have grok filters set up in mybeats.conf file. How can I load this file and apply the grok filters without Filebeat?

---

<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:** [August 28, 2019, 7:24pm UTC](https://discuss.elastic.co/t/how-to-load-a-log-file-and-apply-grok-filters-without-using-filebeat/197185/2 "2019-08-28T19:24:26Z")

</div>

Use a [file](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html) input.

---

<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:** [September 25, 2019, 7:24pm UTC](https://discuss.elastic.co/t/how-to-load-a-log-file-and-apply-grok-filters-without-using-filebeat/197185/3 "2019-09-25T19:24:29Z")

</div>

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