/app/account-headless#state=FD=reqdoc&PN=952949&accessMode=Internet&accessType=MOBILE
In splunk, I would like to group by the URLs by filtering/removing the parameter based on parameter name, for example remove PN=952949 or accessType=MOBILE
/app/account-headless#state=FD=reqdoc&PN=952949&accessMode=Internet&accessType=MOBILE
In splunk, I would like to group by the URLs by filtering/removing the parameter based on parameter name, for example remove PN=952949 or accessType=MOBILE
Try using sed to remove the undesired parameters. You'll need one sed command for each parameter.
| rex mode=sed field=URL "s/[?&]PN=[^&$]+//"
| rex mode=sed field=URL "s/[?&]accessType=[^&$]+//"