# Logstash in windows

**URL:** https://discuss.elastic.co/t/logstash-in-windows/66635
**Category:** Logstash
**Created:** [November 20, 2016, 8:02am UTC](https://discuss.elastic.co/t/logstash-in-windows/66635 "2016-11-20T08:02:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xsallowed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xsallowed/32/28971_2.png) [@xsallowed](https://discuss.elastic.co/u/xsallowed)
#### Post date: [November 20, 2016, 8:02am UTC](https://discuss.elastic.co/t/logstash-in-windows/66635/1 "2016-11-20T08:02:33Z")

</div>

Hi Folks  
I am a newbie here and all I am trying to do is find a way to see if logstash is able to read my files and is it able to parse it correctly. I took a basic config file from internet and trying to run logstash with it. My log files are bunch of apache2 access and http logs.

My concerns are I am getting following message and it just stops without showing any further help or signs of processing my log files

C:\Lostash\logstash-5.0.1\bin\>logstash.bat -f Base.config --verbose  
Using JAVA\_HOME=C:\Program Files\Java\jre1.8.0\_101 retrieved from C:\ProgramData  
\Oracle\java\javapath\java.exe  
JAVA\_OPTS was set to [ -Xmx1g -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSP  
arallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX:CMSIniti  
atingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutO  
fMemoryError -XX:HeapDumpPath="$LS\_HOME/heapdump.hprof"]. Logstash will trust th  
ese options, and not set any defaults that it might usually set  
ERROR StatusLogger No log4j2 configuration file found. Using default configurati  
on: logging only errors to the console.  
Could not find log4j2 configuration at path /Lostash/logstash-5.0.1/config/log4j  
2.properties. Using default config which logs to console  
11:57:53.141 [[main]-pipeline-manager] INFO logstash.pipeline - Starting pipeli  
ne {"id"=\>"main", "pipeline.workers"=\>4, "pipeline.batch.size"=\>125, "pipeline.b  
atch.delay"=\>5, "pipeline.max\_inflight"=\>500}  
11:57:53.156 [[main]-pipeline-manager] INFO logstash.pipeline - Pipeline main s  
tarted  
11:57:53.328 [Api Webserver] INFO logstash.agent - Successfully started Logstas  
h API endpoint {:port=\>9600}

Any help to fix this issue. I just want to see if logstash is able to read my logs and if yes it should show me how does it parse them on my screen

Config file I am using is 🙂  
input {  
file {  
path =\> "C:\Logs\apache2\*.\*"  
start\_position =\> beginning  
}  
}

output {  
stdout { }  
}

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [November 20, 2016, 4:36pm UTC](https://discuss.elastic.co/t/logstash-in-windows/66635/2 "2016-11-20T16:36:51Z")

</div>

Please search the archives for `sincedb_path` and `ignore_older` to find old threads covering this exact topic.

---

<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 18, 2016, 4:37pm UTC](https://discuss.elastic.co/t/logstash-in-windows/66635/3 "2016-12-18T16:37:09Z")

</div>

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