# Logstash error : not showing output

**URL:** https://discuss.elastic.co/t/logstash-error-not-showing-output/49129
**Category:** Logstash
**Created:** [May 4, 2016, 6:57am UTC](https://discuss.elastic.co/t/logstash-error-not-showing-output/49129 "2016-05-04T06:57:58Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![prakashkumar](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@prakashkumar](https://discuss.elastic.co/u/prakashkumar)
#### Post date: [May 4, 2016, 6:57am UTC](https://discuss.elastic.co/t/logstash-error-not-showing-output/49129/1 "2016-05-04T06:57:58Z")

</div>

input {  
file {  
codec =\> json  
type =\> "log4j-json"  
path =\> "C:/Users/akashsoni/Downloads/k/logstash-tutorial/20160402050401.log"  
start\_position =\>beginning  
}  
}  
output {  
stdout {}  
}

Hi, This is my code which I am trying to run but, i got error when i give command at command prompt:C:\Users\akashsoni\Downloads\logstash-2.3.1\bin\>logstash -f first-pipeline.conf- -config.In result:error is: missing: en.logstash.runner.configuration.file

And i am a window user.

when i run this command:C:\Users\akashsoni\Downloads\logstash-2.3.1\bin\>logstash -f first-pipeline.conf

then it will start the pipeline but not show any output,why?

---

<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: [May 4, 2016, 7:00am UTC](https://discuss.elastic.co/t/logstash-error-not-showing-output/49129/2 "2016-05-04T07:00:29Z")

</div>

It'd help if you formatted your post, we can't tell where your error from your command 🙂

---

<div class="post-metadata">

### Author: ![prakashkumar](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@prakashkumar](https://discuss.elastic.co/u/prakashkumar)
#### Post date: [May 4, 2016, 7:04am UTC](https://discuss.elastic.co/t/logstash-error-not-showing-output/49129/3 "2016-05-04T07:04:23Z")

</div>

C:\Users\akashsoni\Downloads\logstash-2.3.1\bin\>logstash -f first-pipeline.conf- -config

o/p: missing: en.logstash.runner.configuration.file

C:\Users\akashsoni\Downloads\logstash-2.3.1\bin\>logstash -f first-pipeline.conf

o/p: io/console not supported; tty will not be manipulated  
Settings: Default pipeline workers: 4  
Pipeline main started

---

<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: [May 4, 2016, 7:08am UTC](https://discuss.elastic.co/t/logstash-error-not-showing-output/49129/4 "2016-05-04T07:08:49Z")

</div>

That's not valid syntax. If you use `-f` you don't need `--config`, take a look at [https://www.elastic.co/guide/en/logstash/current/command-line-flags.html](https://www.elastic.co/guide/en/logstash/current/command-line-flags.html).

---

<div class="post-metadata">

### Author: ![prakashkumar](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@prakashkumar](https://discuss.elastic.co/u/prakashkumar)
#### Post date: [May 4, 2016, 7:11am UTC](https://discuss.elastic.co/t/logstash-error-not-showing-output/49129/5 "2016-05-04T07:11:34Z")

</div>

when i am not using config it has to show my log.But it not show any thing  
😌

---

<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: [July 6, 2017, 4:59am UTC](https://discuss.elastic.co/t/logstash-error-not-showing-output/49129/6 "2017-07-06T04:59:27Z")

</div>


