# Syslog parsing error in transmission

**URL:** <https://discuss.elastic.co/t/syslog-parsing-error-in-transmission/26617>\
**Category:** Logstash\
**Created:** [July 31, 2015, 6:36am UTC](https://discuss.elastic.co/t/syslog-parsing-error-in-transmission/26617 "2015-07-31T06:36:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gromit](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@gromit](https://discuss.elastic.co/u/gromit)\
**Post date:** [July 31, 2015, 6:36am UTC](https://discuss.elastic.co/t/syslog-parsing-error-in-transmission/26617/1 "2015-07-31T06:36:30Z")

</div>

Currently having a strange parsing error with Cisco ASA logs.

ASA syslogs forwarded to Logstash via syslog-ng, a typical line is like this:

2015-07-31T01:47:35+10:00 10.0.0.25 %ASA-3-313001: Denied ICMP type=3, code=3 from 58.96.9.88 on interface outside

Logstash listens on a TCP port for the forwarded message.

If I send the logs to Logstash with netcat e.g,"cat asa.logs | nc -vv -n logstash\_host 1234", then everything works fine. But if I use syslog-ng to forward (all other syslogs work fine this way) then I get a \_grokparsefailure.

I can't work out what the issue is, almost like some extra character is getting added in transit.Can't see why the ASA logs would be different to any other.

---

<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:** [July 31, 2015, 6:00pm UTC](https://discuss.elastic.co/t/syslog-parsing-error-in-transmission/26617/2 "2015-07-31T18:00:44Z")

</div>

I'd use tcpdump to capture exactly what's sent over the wire. There's obviously _some_ kind of difference.

---

<div class="post-metadata">

**Author:** ![Don\_Click](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Don\_Click](https://discuss.elastic.co/u/Don_Click)\
**Post date:** [October 14, 2015, 1:16pm UTC](https://discuss.elastic.co/t/syslog-parsing-error-in-transmission/26617/3 "2015-10-14T13:16:07Z")

</div>

make any progress here? interested in your results.

---

<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, 5:26am UTC](https://discuss.elastic.co/t/syslog-parsing-error-in-transmission/26617/4 "2017-07-06T05:26:35Z")

</div>

Closed on July 6, 2017, 5:26am UTC


