# Unable to read windows log file with logstash

**URL:** https://discuss.elastic.co/t/unable-to-read-windows-log-file-with-logstash/119788
**Category:** Logstash
**Created:** [February 14, 2018, 12:08pm UTC](https://discuss.elastic.co/t/unable-to-read-windows-log-file-with-logstash/119788 "2018-02-14T12:08:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kabali12345](https://avatars.discourse-cdn.com/v4/letter/k/6a8cbe/32.png) [@kabali12345](https://discuss.elastic.co/u/kabali12345)
#### Post date: [February 14, 2018, 12:08pm UTC](https://discuss.elastic.co/t/unable-to-read-windows-log-file-with-logstash/119788/1 "2018-02-14T12:08:20Z")

</div>

Hi all.....  
Here i am trying to read IIS log file with logstash  
here is my conf

```auto
input {
  file {
     path => "C:\inetpub\logs\LogFiles\W3SVC2\in180214"
     sincedb_path => "C:\logstash-6.0.0\logstash-6.0.0\config\iis"
     start_position => "beginning"
# type => "iis"
codec => plain{
                charset => "ANSI_X3.4-1968"
      }
}
}
output
{
stdout { codec => rubydebug }
}

```

but when start logstash job in windows i am getting following logs

```auto
C:\logstash-6.0.0\logstash-6.0.0\bin>logstash -f C:\logstash-6.0.0\logstash-6.0.
0\config\iis.yml --path.data E:\tmp\abc
Sending Logstash's logs to C:/logstash-6.0.0/logstash-6.0.0/logs which is now co
nfigured via log4j2.properties
[2018-02-14T16:07:43,817][INFO][logstash.modules.scaffold] Initializing module
{:module_name=>"fb_apache", :directory=>"C:/logstash-6.0.0/logstash-6.0.0/module
s/fb_apache/configuration"}
[2018-02-14T16:07:43,839][INFO][logstash.modules.scaffold] Initializing module
{:module_name=>"netflow", :directory=>"C:/logstash-6.0.0/logstash-6.0.0/modules/
netflow/configuration"}
[2018-02-14T16:07:44,326][WARN][logstash.config.source.multilocal] Ignoring the
 'pipelines.yml' file because modules or command line options are specified
[2018-02-14T16:07:48,161][INFO][logstash.agent] Successfully started
 Logstash API endpoint {:port=>9601}
[2018-02-14T16:07:52,540][INFO][logstash.pipeline] Starting pipeline {:
pipeline_id=>"main", "pipeline.workers"=>2, "pipeline.batch.size"=>125, "pipelin
e.batch.delay"=>5, "pipeline.max_inflight"=>250, :thread=>"#<Thread:0x36a823bd@C
:/logstash-6.0.0/logstash-6.0.0/logstash-core/lib/logstash/pipeline.rb:290 run>"
}
[2018-02-14T16:07:53,491][INFO][logstash.pipeline] Pipeline started {"p
ipeline.id"=>"main"}
[2018-02-14T16:07:53,651][INFO][logstash.agent] Pipelines running {:
count=>1, :pipelines=>["main"]}

```

but after that we are not seeing any logs.

am i doing anything wrong here?  
Please help me with this issue.

Thank You.

---

<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 14, 2018, 12:08pm UTC](https://discuss.elastic.co/t/unable-to-read-windows-log-file-with-logstash/119788/2 "2018-03-14T12:08:21Z")

</div>

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