# Log files not forwarded to Elasticsearch

**URL:** https://discuss.elastic.co/t/log-files-not-forwarded-to-elasticsearch/75495
**Category:** Logstash
**Created:** [February 17, 2017, 1:04pm UTC](https://discuss.elastic.co/t/log-files-not-forwarded-to-elasticsearch/75495 "2017-02-17T13:04:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ArjunSISA](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@ArjunSISA](https://discuss.elastic.co/u/ArjunSISA)
#### Post date: [February 17, 2017, 1:04pm UTC](https://discuss.elastic.co/t/log-files-not-forwarded-to-elasticsearch/75495/1 "2017-02-17T13:04:13Z")

</div>

Hi everyone,

i have configured winlogbeat to forward windows logs to logstash and successfully receiving logs in logstash(which i can see in command prompt), but i'm not getting the logs in elasticsearch.

can anyone guide me ?

please find my logstash config:

input {

beats {   
port =\> 5044  
#ssl\_certificate =\> "C:\siem\logfw.crt"  
#ssl\_key =\> "C:\siem\logfw.key"  
}

{

output {  
stdout { codec =\> rubydebug }

elasticsearch {

```
hosts => ["localhost:7778"]
index => "logstash-client1-%{+YYYY.MM.dd}"

```

}  
}

---

<div class="post-metadata">

### Author: ![renevdm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/renevdm/32/5730_2.png) [@renevdm](https://discuss.elastic.co/u/renevdm)
#### Post date: [February 17, 2017, 8:57pm UTC](https://discuss.elastic.co/t/log-files-not-forwarded-to-elasticsearch/75495/2 "2017-02-17T20:57:11Z")

</div>

Seems to be the same issue as this:

> [@Fresh logstash 5.2 install gives log4j warnings and no logging from plugins](https://discuss.elastic.co/t/fresh-logstash-5-2-install-gives-log4j-warnings-and-no-logging-from-plugins/75530):
>
> I just downloaded the new logstash version (5.2.1), and after starting it I noticed a warning message saying that log4j needs to be initialized properly. I also noticed that plugins like kafka, beats, etc, were not emitting any output log... I used this very simple command to reproduce the problem on a Windows machine: $ bin\logstash -e "input{beats{port=\>5044}} output{stdout{}}" Could not find log4j2 configuration at path /Downloads/logstash-5.2.1/config/log4j2.properties. Using default con…

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [February 18, 2017, 3:40am UTC](https://discuss.elastic.co/t/log-files-not-forwarded-to-elasticsearch/75495/3 "2017-02-18T03:40:39Z")

</div>

Is there anything in stdout?

---

<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 18, 2017, 3:40am UTC](https://discuss.elastic.co/t/log-files-not-forwarded-to-elasticsearch/75495/4 "2017-03-18T03:40:56Z")

</div>

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