# Logstash config file no output

**URL:** <https://discuss.elastic.co/t/logstash-config-file-no-output/128665>\
**Category:** Logstash\
**Created:** [April 19, 2018, 9:46am UTC](https://discuss.elastic.co/t/logstash-config-file-no-output/128665 "2018-04-19T09:46:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuvaraja\_kannan](https://avatars.discourse-cdn.com/v4/letter/y/ba8739/32.png) [@Yuvaraja\_kannan](https://discuss.elastic.co/u/Yuvaraja_kannan)\
**Post date:** [April 19, 2018, 9:46am UTC](https://discuss.elastic.co/t/logstash-config-file-no-output/128665/1 "2018-04-19T09:46:03Z")

</div>

HI All,

I have a simple log file with the below data, I tried to grok, i used grok debugger and got the expected output, But when I tried the say with logstash config file I am not getting any output. Please advice if there are any issues with the config.  
Log:  
2017-12-28 17:01:43,712  
config:  
input {  
file {  
path =\> "C:\Users\yuvaraja.kannan\Documents\Process\_project\sample\_log.log"  
start\_position=\>"beginning"  
sincedb\_path=\>"/dev/null"  
}  
}

filter {  
grok {  
match=\>{"message"=\>"(?%{YEAR}-%{MONTHNUM}-%{MONTHDAY}) (?%{HOUR}:%{MINUTE}:%{SECOND})(?,%{POSINT})"}  
}  
}

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:** [April 20, 2018, 7:05am UTC](https://discuss.elastic.co/t/logstash-config-file-no-output/128665/2 "2018-04-20T07:05:02Z")

</div>

> sincedb\_path=\>"/dev/null"

On Windows use "nul" instead of "/dev/null".

---

<div class="post-metadata">

**Author:** ![Yuvaraja\_kannan](https://avatars.discourse-cdn.com/v4/letter/y/ba8739/32.png) [@Yuvaraja\_kannan](https://discuss.elastic.co/u/Yuvaraja_kannan)\
**Post date:** [April 20, 2018, 8:09am UTC](https://discuss.elastic.co/t/logstash-config-file-no-output/128665/3 "2018-04-20T08:09:33Z")

</div>

Thanks.

---

<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:** [May 18, 2018, 8:10am UTC](https://discuss.elastic.co/t/logstash-config-file-no-output/128665/4 "2018-05-18T08:10:12Z")

</div>

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