# Logstash working on Linux but not on Windows

**URL:** <https://discuss.elastic.co/t/logstash-working-on-linux-but-not-on-windows/222530>\
**Category:** Logstash\
**Created:** [March 7, 2020, 3:44am UTC](https://discuss.elastic.co/t/logstash-working-on-linux-but-not-on-windows/222530 "2020-03-07T03:44:59Z")\
**Posts on this page:** 1\
**Showing post:** 19

<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:** [March 13, 2020, 10:39pm UTC](https://discuss.elastic.co/t/logstash-working-on-linux-but-not-on-windows/222530/19 "2020-03-13T22:39:49Z")

</div>

@xeraa Please refer to this topic I made with more discreet information and after adding result of testing to show that same files on logstash and Filebeat run on linux but not on windows.

> [@Logstash working on Linux but not on Windows with same config files](https://discuss.elastic.co/t/logstash-working-on-linux-but-not-on-windows-with-same-config-files/223587):
>
> I have one logstash configuration file which I am using for logs coming from both Windows and linux environment. I have the same filebeat configuration for both environment. The log file being shipped via filebeats is also same. Still, the grok filters are not filtering fields on logs coming from windows, whereas they are being filtered for the same log file from linux. I added an exact same log line in my log file, on both windows and linux environment to compare the JSON output to see why g…

I tried the multiline pattern and that didnt work either.  
Which Elasticsearch document are you referring to? I posted few above in 13/18 comment.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-working-on-linux-but-not-on-windows/222530)._
