# Unmarshalling Error With Route53 Healthcheck an HAproxy

**URL:** <https://discuss.elastic.co/t/unmarshalling-error-with-route53-healthcheck-an-haproxy/161948>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 23, 2018, 12:13pm UTC](https://discuss.elastic.co/t/unmarshalling-error-with-route53-healthcheck-an-haproxy/161948 "2018-12-23T12:13:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Or\_Arnon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/or_arnon/32/43677_2.png) [@Or\_Arnon](https://discuss.elastic.co/u/Or_Arnon)\
**Post date:** [December 23, 2018, 12:13pm UTC](https://discuss.elastic.co/t/unmarshalling-error-with-route53-healthcheck-an-haproxy/161948/1 "2018-12-23T12:13:38Z")

</div>

Hi,

We have a stream of events captured by HAproxy, written to a log and collected by Filebeat.  
We get an error for what appears to be a broken JSON sent by Route53 health-check (look at the event field):

```auto
2018-12-23T11:56:26.962Z	DEBUG	[filters]	actions/decode_json_fields.go:99	Error trying to unmarshal {"eventtimestamp":"23/Dec/2018:11:56:25.989","epochtime":1545566185,"useragent":"Amazon-Route53-Health-Check-Service (ref 7522f8a3-1474-423c-8ade-37589b6caddd; report http:\/\/amzn.to\/1vsZADi)","clientip":"-","event":-}

```

Did anyone encounter?  
(filebeat version 6.5.3)

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [December 27, 2018, 2:00pm UTC](https://discuss.elastic.co/t/unmarshalling-error-with-route53-healthcheck-an-haproxy/161948/2 "2018-12-27T14:00:43Z")

</div>

Filebeat can not parse invalid json. The `event` field is invalid.

---

<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:** [January 24, 2019, 2:00pm UTC](https://discuss.elastic.co/t/unmarshalling-error-with-route53-healthcheck-an-haproxy/161948/3 "2019-01-24T14:00:52Z")

</div>

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