# Logstash not printing stdout

**URL:** <https://discuss.elastic.co/t/logstash-not-printing-stdout/220688>\
**Category:** Logstash\
**Created:** [February 24, 2020, 3:31pm UTC](https://discuss.elastic.co/t/logstash-not-printing-stdout/220688 "2020-02-24T15:31:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![volcano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/volcano/32/46287_2.png) [@volcano](https://discuss.elastic.co/u/volcano)\
**Post date:** [February 24, 2020, 3:31pm UTC](https://discuss.elastic.co/t/logstash-not-printing-stdout/220688/1 "2020-02-24T15:31:20Z")

</div>

Here is my logstash.conf

> <https://gist.github.com/srconline/12d0ffbf786aa026ce1d00c0272061c0>

and here is the logstash log file in /var/log/logstash

> <https://gist.github.com/srconline/e49b5757425a16ced1c85b1a7d8b36e7>

issue is , application logs are not printing in logstash STDOUT. ... I dont see any error also.

I am using logstash 7.4 in AWS EC2 (Linux 2)

What is the issue here ?

---

<div class="post-metadata">

**Author:** ![Travis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/travis/32/54079_2.png) [@Travis](https://discuss.elastic.co/u/Travis)\
**Post date:** [February 24, 2020, 4:10pm UTC](https://discuss.elastic.co/t/logstash-not-printing-stdout/220688/2 "2020-02-24T16:10:25Z")

</div>

Did you retried with a new name for your log ?

---

<div class="post-metadata">

**Author:** ![volcano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/volcano/32/46287_2.png) [@volcano](https://discuss.elastic.co/u/volcano)\
**Post date:** [February 24, 2020, 4:32pm UTC](https://discuss.elastic.co/t/logstash-not-printing-stdout/220688/3 "2020-02-24T16:32:40Z")

</div>

> [@Travis](#):
>
> with a new name for your log

why do I do with a new name of log ? application log is fixed and final.

---

<div class="post-metadata">

**Author:** ![Travis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/travis/32/54079_2.png) [@Travis](https://discuss.elastic.co/u/Travis)\
**Post date:** [February 25, 2020, 7:48am UTC](https://discuss.elastic.co/t/logstash-not-printing-stdout/220688/4 "2020-02-25T07:48:24Z")

</div>

To exclude a problem with sincedb

---

<div class="post-metadata">

**Author:** ![volcano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/volcano/32/46287_2.png) [@volcano](https://discuss.elastic.co/u/volcano)\
**Post date:** [February 25, 2020, 8:26am UTC](https://discuss.elastic.co/t/logstash-not-printing-stdout/220688/5 "2020-02-25T08:26:30Z")

</div>

> [@Travis](#):
>
> To exclude a problem with sincedb

I still dont understand what exactly you want to change.

Could you please be explicit ?

I have this input  
input {  
file {  
path =\> "/home/ec2-user/xxxxx/testservice.log"  
start\_position =\> "beginning"  
sincedb\_path =\> "/dev/null"  
}  
}

---

<div class="post-metadata">

**Author:** ![Travis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/travis/32/54079_2.png) [@Travis](https://discuss.elastic.co/u/Travis)\
**Post date:** [February 25, 2020, 10:09am UTC](https://discuss.elastic.co/t/logstash-not-printing-stdout/220688/6 "2020-02-25T10:09:14Z")

</div>

> [@volcano](#):
>
> input {  
> file {  
> path =\> "/home/ec2-user/xxxxx/testservice.log"  
> start\_position =\> "beginning"  
> sincedb\_path =\> "/dev/null"  
> }  
> }

Try this :

```
input {
file {
path => "/home/ec2-user/xxxxx/testservice2.log"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}

```

---

<div class="post-metadata">

**Author:** ![volcano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/volcano/32/46287_2.png) [@volcano](https://discuss.elastic.co/u/volcano)\
**Post date:** [February 25, 2020, 11:03am UTC](https://discuss.elastic.co/t/logstash-not-printing-stdout/220688/7 "2020-02-25T11:03:13Z")

</div>

checking..

---

<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 24, 2020, 11:03am UTC](https://discuss.elastic.co/t/logstash-not-printing-stdout/220688/8 "2020-03-24T11:03:16Z")

</div>

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