# Parse Haproxy Log

**URL:** <https://discuss.elastic.co/t/parse-haproxy-log/302494>\
**Category:** Elasticsearch\
**Created:** [April 15, 2022, 9:40am UTC](https://discuss.elastic.co/t/parse-haproxy-log/302494 "2022-04-15T09:40:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serge\_Reynier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/serge_reynier/32/97508_2.png) [@Serge\_Reynier](https://discuss.elastic.co/u/Serge_Reynier)\
**Post date:** [April 15, 2022, 9:40am UTC](https://discuss.elastic.co/t/parse-haproxy-log/302494/1 "2022-04-15T09:40:38Z")

</div>

Hi,  
I actually testing "[elastic.co](http://elastic.co)" to store and parse my haproxy logs, but I can't parse them properly.  
I use Haproxy 2.2 and elastic-agent to send logs and i installed Haproxy Integration to parse log. Lots of field is returned but I want parse field "url.query" to extract value.  
For example url.query with value : \</ zoneid=232776&siteid=11081&extzone=&impid=b55a7b64a1484deac3874efafe3c39ae9392475d&ts=1650014482.379 /\>  
I want to extract zoneid, siteid, extzone etc ...  
I see there is Ingest Pipeline logs-haproxy.log-0.7.0, can i modify this to extract this value ?  
Should i add new Pipeline ?

---

<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:** [May 13, 2022, 9:40am UTC](https://discuss.elastic.co/t/parse-haproxy-log/302494/2 "2022-05-13T09:40:44Z")

</div>

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