I want to group all the URL with dynamic values such as sessionid , category id ,etc, and display as 1 URL with count.
Output should be like below
http://localhost:8001/jpetstore/actions/Catalog.action;jsessionid=**********************************... with count of URL
your_search
| rex mode=sed "s/(?i)(?<=id\=)\w+/****/g"
Hi, @raghul1117
How about this?
Try below regex to extract sessionid and categoryId then stats command will calculate statistics of count-
...|rex "sessionid=(?<sessionid>\w+)\?.*categoryId=(?<categoryId>\w+)"
|stats count by sessionid categoryId