Hello,<div><br></div><div>http logging has been enabled in our environment. The purpose is to parse these logs for URL's up to and including the path. (so no query and/or fragment part) The problem is that in http.log I encounter 2 log formats:</div>
<div><ol><li>TIMESTAMP HOSTNAME [**] COMPLETE URL [**]</li><li>TIMESTAMP HOSTNAME [**] URL without SCHEME&HOSTNAME [**]</li></ol></div><div>In case 1 I only need COMPLETE URL and strip of query and/or fragment</div><div>
In case 2 I need to concat "SCHEME", "HOSTNAME" and "URL without SCHEME&HOSTNAME" and then strip of query and/or fragment.</div><div><br></div><div>Is there any logic in why there are 2 different cases? Personally I think log format 1 is preferable.</div>
<div><br></div><div>Best Regards</div><div><br></div><div><br></div>