# Logstash broken logs when log message contains \<div\> \</div\> tags

**URL:** <https://discuss.elastic.co/t/logstash-broken-logs-when-log-message-contains-div-div-tags/161151>\
**Category:** Logstash\
**Created:** [December 17, 2018, 12:59pm UTC](https://discuss.elastic.co/t/logstash-broken-logs-when-log-message-contains-div-div-tags/161151 "2018-12-17T12:59:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kent\_Ridge](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@Kent\_Ridge](https://discuss.elastic.co/u/Kent_Ridge)\
**Post date:** [December 17, 2018, 12:59pm UTC](https://discuss.elastic.co/t/logstash-broken-logs-when-log-message-contains-div-div-tags/161151/1 "2018-12-17T12:59:16Z")

</div>

Hi,

I have a HTML string that contains "hello\< div \>world\< /div \>". This string is supposed to be picked up at logstash and stored into Elastic Search.

Noticed that logstash picks up this string in two different messages because of the \< div \> tag.

Is this intended?

Regards

---

<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 14, 2019, 12:59pm UTC](https://discuss.elastic.co/t/logstash-broken-logs-when-log-message-contains-div-div-tags/161151/2 "2019-01-14T12:59:28Z")

</div>

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