# Windows logs are coming in, but Linux logs are not

**URL:** <https://discuss.elastic.co/t/windows-logs-are-coming-in-but-linux-logs-are-not/151609>\
**Category:** Logstash\
**Created:** [October 9, 2018, 10:17am UTC](https://discuss.elastic.co/t/windows-logs-are-coming-in-but-linux-logs-are-not/151609 "2018-10-09T10:17:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sc1](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sc1](https://discuss.elastic.co/u/sc1)\
**Post date:** [October 9, 2018, 10:17am UTC](https://discuss.elastic.co/t/windows-logs-are-coming-in-but-linux-logs-are-not/151609/1 "2018-10-09T10:17:39Z")

</div>

Hello,

I have set up a single node ELK machine running the latest 6~ instances for Elasticsearch, Kibana, Logstash and Filebeat. I have been able to configure Winlogbeat on 2x Windows servers and I am receiving the logs with no issue. I have however noticed that on the indexes, the logs are coming in as Winlogbeat & Logstash but I'm unable to determine why it's splitting them up into 2 indices. I was expecting my 5x Centos hosts to be sending logs to the filebeat index but this doesn't come up. I have even added filebeat to the server the ELK stack is sitting on and to no avail.

I have setup a Gray log server as a test and I am able to successfully send logs with these Linux hosts so communication is not an issue. I have checked the logs under /var/logs/filebeat/filebeat and I can't see anything obvious.

My configuration is as follows:

```
    input {
  beats {
      port => 5044
   }
  }

   filter {
    grok {
        match => ["message", "%{COMMONAPACHELOG}"]
    }
   }

   output {
    elasticsearch {
        hosts => "localhost:9200"
    }
    }

```

Across all the linux hosts, I have added to the Filebeat.yml:  
output.logstash:  
hosts: ["1XX.1XX.XX.XX:5044"]

I had previously setup a configuration on a VM running the ELK Stack version 5.6 and had no issues sending over Linux logs. But right now I am stumped.

Please let me know if there's anymore information needed to troubleshoot, will post it.

---

<div class="post-metadata">

**Author:** ![sc1](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sc1](https://discuss.elastic.co/u/sc1)\
**Post date:** [October 17, 2018, 11:30am UTC](https://discuss.elastic.co/t/windows-logs-are-coming-in-but-linux-logs-are-not/151609/2 "2018-10-17T11:30:05Z")

</div>

Hello, would someone be able to help? I have an ELK stack running version 5 and having no issues with Windows and Linux logs flowing through but when I set up what's supposed to be prod using version 6 only Windows logs come in. Configs are pretty much identical and I am lost as to where to look to see why it doesn't work.

---

<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:** [November 14, 2018, 11:30am UTC](https://discuss.elastic.co/t/windows-logs-are-coming-in-but-linux-logs-are-not/151609/3 "2018-11-14T11:30:14Z")

</div>

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