# Elastic only receiving partial logstash events?

**URL:** <https://discuss.elastic.co/t/elastic-only-receiving-partial-logstash-events/1485>\
**Category:** Elasticsearch\
**Created:** [May 28, 2015, 3:04pm UTC](https://discuss.elastic.co/t/elastic-only-receiving-partial-logstash-events/1485 "2015-05-28T15:04:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![avamore](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@avamore](https://discuss.elastic.co/u/avamore)\
**Post date:** [May 28, 2015, 3:04pm UTC](https://discuss.elastic.co/t/elastic-only-receiving-partial-logstash-events/1485/1 "2015-05-28T15:04:30Z")

</div>

Hi All,  
I have a logstash forwarding syslog events from multiple applications on a single server:

```
input {

      tcp {
        port => 514
        type => syslog
      }
      udp {
        port => 514
        type => syslog
      }
    }
    
    filter {
      if [type] == "syslog" {
        grok {
          match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:syslog_message}" }
          add_field => ["received_at", "%{@timestamp}"]
          add_field => ["received_from", "%{host}"]
        }
        syslog_pri { }
        date {
          match => ["syslog_timestamp", "MMM d HH:mm:ss", "MMM dd HH:mm:ss"]
        }
      }
    }
    
    output {
      elasticsearch { host => localhost }
      stdout { codec => rubydebug }
    }

```

Elastic is only receiving logs from one application, and not another, however, I see both in the stdout. Any idea what may cause this?

Elasticsearch 1.5.2  
Kibana 4.0.2  
Logstash 1.5.0

---

<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 29, 2015, 2:36am UTC](https://discuss.elastic.co/t/elastic-only-receiving-partial-logstash-events/1485/2 "2015-05-29T02:36:01Z")

</div>

Are the formats the same for both? As your grok pattern will be forced on them and if it doesn't match you should be seeing \_grokparsefailures.

---

<div class="post-metadata">

**Author:** ![avamore](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@avamore](https://discuss.elastic.co/u/avamore)\
**Post date:** [June 1, 2015, 4:16pm UTC](https://discuss.elastic.co/t/elastic-only-receiving-partial-logstash-events/1485/3 "2015-06-01T16:16:23Z")

</div>

The formats are just about the same.

It's actually weird, the grokparsefailure messages are showing, but the ones without failures aren't. I'm truly stumped

---

<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, 12:10am UTC](https://discuss.elastic.co/t/elastic-only-receiving-partial-logstash-events/1485/4 "2017-07-06T00:10:25Z")

</div>

Closed on July 6, 2017, 12:10am UTC


