# Search bug when trying to find termination state in haproxy logs

**URL:** <https://discuss.elastic.co/t/search-bug-when-trying-to-find-termination-state-in-haproxy-logs/188199>\
**Category:** Kibana\
**Created:** [June 30, 2019, 4:40pm UTC](https://discuss.elastic.co/t/search-bug-when-trying-to-find-termination-state-in-haproxy-logs/188199 "2019-06-30T16:40:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kingil/32/49099_2.png) [@kingil](https://discuss.elastic.co/u/kingil)\
**Post date:** [June 30, 2019, 4:40pm UTC](https://discuss.elastic.co/t/search-bug-when-trying-to-find-termination-state-in-haproxy-logs/188199/1 "2019-06-30T16:40:04Z")

</div>

Hello guys!  
I have a lot of haproxy logs in this format, where "----" is termination state.

```
10.2.41.64:35210 [30/Jun/2019:19:22:51.510] internal_http payments/pre-payments2 0/0/0/26/26 200 830 - - ---- 134/115/12/8/0 0/0 "POST /payment/ws HTTP/1.1"

```

I am really can't find logs by this termination\_state field. When i try to find termination\_state:"cR--", kibana searching only cR string like "-cR-" "--cR", not only "cR--".

How i can escape this? "Set filter" in Logs section can't find events with "----". Maybe it's a bug?

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [July 1, 2019, 12:59pm UTC](https://discuss.elastic.co/t/search-bug-when-trying-to-find-termination-state-in-haproxy-logs/188199/2 "2019-07-01T12:59:31Z")

</div>

Hi @kingil,

Which application in Kibana are you using for this search? Discover, Logs, or something else?

---

<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 29, 2019, 1:03pm UTC](https://discuss.elastic.co/t/search-bug-when-trying-to-find-termination-state-in-haproxy-logs/188199/3 "2019-07-29T13:03:45Z")

</div>

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