# Losgtash runs successfully but I doesn't see any logs on command line using stdout

**URL:** <https://discuss.elastic.co/t/losgtash-runs-successfully-but-i-doesnt-see-any-logs-on-command-line-using-stdout/239418>\
**Category:** Logstash\
**Created:** [July 1, 2020, 7:05am UTC](https://discuss.elastic.co/t/losgtash-runs-successfully-but-i-doesnt-see-any-logs-on-command-line-using-stdout/239418 "2020-07-01T07:05:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajaypal](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@Ajaypal](https://discuss.elastic.co/u/Ajaypal)\
**Post date:** [July 1, 2020, 7:05am UTC](https://discuss.elastic.co/t/losgtash-runs-successfully-but-i-doesnt-see-any-logs-on-command-line-using-stdout/239418/1 "2020-07-01T07:05:57Z")

</div>

Hi all  
On logstash system, it receives the syslog messages from my source syslog servers on port 514.  
Below is the code I have and I see that logstash is running successfully but I don't see output. Can any one help here?

```auto
input {
  tcp {
    port => 514
    type => syslog
  }
  udp {
    port => 514
    type => syslog
  }
}

filter {
  if [type] == "syslog" {
    grok {
		match => { "message" => "%{GREEDYDATA:message}" }
        
    }
  }
}

output {
  stdout { codec => rubydebug }
}

```

---

<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 29, 2020, 7:05am UTC](https://discuss.elastic.co/t/losgtash-runs-successfully-but-i-doesnt-see-any-logs-on-command-line-using-stdout/239418/2 "2020-07-29T07:05:59Z")

</div>

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