Micro Focus Contributor
Micro Focus Contributor
154 views

Creating FlexParser of HTTP Header Request

Hi 

Has anyone ever created a properties file for http header Request?

If someone ever has created, Could you please share the properties file for a reference?

Below are log example, and they are not multi-line log. 

some column ,which have no values, show "-". 

example1:

Wed, 21 Oct 2015 07:28:00 GMT https://111.122.182.109/tp1web11/pc/U010902SCR.do?RedirectToken=04c8885742bc2b68e00707197c2dae7969d1e727 Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 ja,en-US;q=0.9,en;q=0.8 bytes=0- JSESSIONID=Ur2klZ2cEI7uDvJdT8av1heEed8zL7pEOAz1_E6gdOS1Ib6p-YNe0N4-zU9T000G.dcCluster1101_001; BROWSER_TOKEN=29ae4f4a05e67b086f5aeefabe4d5d3d - - - - - form-data; name="field2"; filename="example.txt" - 163.135.151.87 jweio122 fjidof281 [03/Apr/2020:16:34:30 +0900] "GET /tp1web11/pc/E030102SCR.do?RedirectToken=b6af84bb85c5a1020fcf4c0d1ee85dc78944a78c HTTP/1.1" 200 9057 27705 10.104.133.12:80 116.134.187.109 24448 0 -

example2:

- - Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 ja,en-US;q=0.9,en;q=0.8 bytes=1234-4567 BROWSER_TOKEN=6efc6cad554d3c4a3612e0f886c7ebe2; JSESSIONID=1RTb8gaVlzD_e5o7XDTqH-tqiJde4PVl8x1C-CnqDOS1Ib6p-YNe0N4-v9Dv000E.dcCluster1101_001 - - - - - - - 164.135.152.87 - - [03/Apr/2020:16:33:38 +0900] "GET /tp1web11/U010101WAK.do HTTP/1.1" 200 10172 505490 10.123.134.12:80 11.179.187.109 24418 0 -

0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.