# Parsing multiline logs : line + xml

**URL:** <https://discuss.elastic.co/t/parsing-multiline-logs-line-xml/38417>\
**Category:** Logstash\
**Created:** [January 5, 2016, 3:17pm UTC](https://discuss.elastic.co/t/parsing-multiline-logs-line-xml/38417 "2016-01-05T15:17:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [January 6, 2016, 11:45am UTC](https://discuss.elastic.co/t/parsing-multiline-logs-line-xml/38417/4 "2016-01-06T11:45:31Z")

</div>

Your grok expression doesn't match the input: "http-nio-8080-exec-8" isn't an IP address so you can't use the IP grok pattern, and while "AbstractServer.java" should pass as a Java class name you're ignoring the line number that follows.

See also [Logstash multiline Bug](https://discuss.elastic.co/t/logstash-multiline-bug/38483) regarding grokking multiline strings.

---

_[View the full topic](https://discuss.elastic.co/t/parsing-multiline-logs-line-xml/38417)._
