# Need to search for messages containing angle bracket (\<)

**URL:** <https://discuss.elastic.co/t/need-to-search-for-messages-containing-angle-bracket/255706>\
**Category:** Elasticsearch\
**Created:** [November 17, 2020, 1:30pm UTC](https://discuss.elastic.co/t/need-to-search-for-messages-containing-angle-bracket/255706 "2020-11-17T13:30:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![naveen\_wilson](https://avatars.discourse-cdn.com/v4/letter/n/ecc23a/32.png) [@naveen\_wilson](https://discuss.elastic.co/u/naveen_wilson)\
**Post date:** [November 17, 2020, 1:30pm UTC](https://discuss.elastic.co/t/need-to-search-for-messages-containing-angle-bracket/255706/1 "2020-11-17T13:30:10Z")

</div>

In Kibana logs, the xml feeds are printing line by line which makes it hard to check the logs. So i would want to search for the log entries having angle bracket to get the xml lines together.  
I tried with the below query but its not working.

```auto
{
  "query": {
    "wildcard": {
      "log": "<*"
    }
  }
}

```

Could you please help me with the query.

Thanks in advance.

---

<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:** [November 17, 2020, 10:38pm UTC](https://discuss.elastic.co/t/need-to-search-for-messages-containing-angle-bracket/255706/2 "2020-11-17T22:38:15Z")

</div>

Try escaping the `<`, eg `\<*`?

---

<div class="post-metadata">

**Author:** ![naveen\_wilson](https://avatars.discourse-cdn.com/v4/letter/n/ecc23a/32.png) [@naveen\_wilson](https://discuss.elastic.co/u/naveen_wilson)\
**Post date:** [November 18, 2020, 4:32am UTC](https://discuss.elastic.co/t/need-to-search-for-messages-containing-angle-bracket/255706/3 "2020-11-18T04:32:44Z")

</div>

I tried it but thats also not working

---

<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:** [December 16, 2020, 4:32am UTC](https://discuss.elastic.co/t/need-to-search-for-messages-containing-angle-bracket/255706/4 "2020-12-16T04:32:45Z")

</div>

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