# Filebeat isnt applying logstash's grok pattern from one location

**URL:** <https://discuss.elastic.co/t/filebeat-isnt-applying-logstashs-grok-pattern-from-one-location/218059>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 5, 2020, 10:29pm UTC](https://discuss.elastic.co/t/filebeat-isnt-applying-logstashs-grok-pattern-from-one-location/218059 "2020-02-05T22:29:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehak\_Bhargava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehak_bhargava/32/54750_2.png) [@Mehak\_Bhargava](https://discuss.elastic.co/u/Mehak_Bhargava)\
**Post date:** [February 5, 2020, 10:29pm UTC](https://discuss.elastic.co/t/filebeat-isnt-applying-logstashs-grok-pattern-from-one-location/218059/1 "2020-02-05T22:29:08Z")

</div>

I have a file which when passed through my local system applies grok pattern. But when sent from server it doesnt apply gropk pattern. The file has same content but from different location has different outcomes. Does filebeat.yml add meta data to logs file due to which grok pattern isnt applicable?

---

<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:** [March 4, 2020, 10:29pm UTC](https://discuss.elastic.co/t/filebeat-isnt-applying-logstashs-grok-pattern-from-one-location/218059/2 "2020-03-04T22:29:09Z")

</div>

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