# AWS WAF: Further parsing of http\_request in logstash

**URL:** https://discuss.elastic.co/t/aws-waf-further-parsing-of-http-request-in-logstash/312347
**Category:** Logstash
**Created:** [August 18, 2022, 7:00am UTC](https://discuss.elastic.co/t/aws-waf-further-parsing-of-http-request-in-logstash/312347 "2022-08-18T07:00:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kelk](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kelk](https://discuss.elastic.co/u/kelk)
#### Post date: [August 18, 2022, 7:00am UTC](https://discuss.elastic.co/t/aws-waf-further-parsing-of-http-request-in-logstash/312347/1 "2022-08-18T07:00:24Z")

</div>

Further to the query: [Writing multiline grok](https://discuss.elastic.co/t/writing-multiline-grok/178214)  
The raw data comes in json, so the NEW line is technically new line but `\r\n` in the json payload.

```auto
"GET /myapp/health HTTP/1.1\\r\\nHost: 52.123.133.46\\r\\nUser-Agent: Mozilla/5.0 zgrab/0.x\\r\\nAccept: */*\\r\\nAccept-Encoding: gzip\\r\\nX-Forwarded-For: 111.222.205.143\\r\\n\\r\\n"

```

Is there an already written http parser for the http\_request? Any help would be much appreciated.  
Cheers

---

<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: [September 15, 2022, 7:00am UTC](https://discuss.elastic.co/t/aws-waf-further-parsing-of-http-request-in-logstash/312347/2 "2022-09-15T07:00:50Z")

</div>

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