# Logstash In Windowsn not Pushing logs to kibana

**URL:** <https://discuss.elastic.co/t/logstash-in-windowsn-not-pushing-logs-to-kibana/255091>\
**Category:** Logstash\
**Created:** [November 11, 2020, 3:10pm UTC](https://discuss.elastic.co/t/logstash-in-windowsn-not-pushing-logs-to-kibana/255091 "2020-11-11T15:10:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Ravichandran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_ravichandran/32/53882_2.png) [@Rahul\_Ravichandran](https://discuss.elastic.co/u/Rahul_Ravichandran)\
**Post date:** [November 11, 2020, 3:10pm UTC](https://discuss.elastic.co/t/logstash-in-windowsn-not-pushing-logs-to-kibana/255091/1 "2020-11-11T15:10:59Z")

</div>

Hi guys,

- I wanted to install logstash in windows 2019 server as my server is in AWS and my ES domain is also in AWS. Im directly using logsatsh to transfer logs to ES end point.

- This is my logstash.conf file

```auto
input {
  file {
    path => "C:\testlog.log"
    start_position => "beginning"
  }
}
filter {
    if [message] =~ /{.*}/ {
        grok { match => { "message" => "(?<[@metadata][json]>({.*}))"} }
        json { source => "[@metadata][json]" remove_field => ["message"] }
    }
}

output {	
  amazon_es {
    hosts => [" ***********************************************"]
    region => " *****"
    index => "lgst-demologs-%{+YYYY.MM.dd}"
    #user => "elastic"
    #password => "changeme"
  }
}

```

- When i run this command `c:\logstash\bin\logstash.bat -f c:\logstash\bin\logstash.conf`

- I am getting the result as Logstash endpoint successfully started

- But when i check in Kibana there is no logs been pushed or even index created and im not even getting any errors

Pls help me out

---

<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:** [November 11, 2020, 3:26pm UTC](https://discuss.elastic.co/t/logstash-in-windowsn-not-pushing-logs-to-kibana/255091/2 "2020-11-11T15:26:36Z")

</div>

Do not use backslash in the path option of a file input, it is treated as an escape. Use forward slash.

---

<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:** [December 9, 2020, 3:26pm UTC](https://discuss.elastic.co/t/logstash-in-windowsn-not-pushing-logs-to-kibana/255091/3 "2020-12-09T15:26:40Z")

</div>

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