05-Dec-2022 05:29
Hi,
I want to analyze the traffic sent to a virtual server using a HTTP Analytics Profile. This server hosts multiple webpages and I need to differentiate between those services. Unfortunately the URL attribute includes only the part after the hostname. Is there a way to include the hostname (or the Host Header) in the analytics generated by HTTP Analytics Profiles?
Thanks.
Elias
Solved! Go to Solution.
05-Dec-2022 06:38
Hi @auernige ,
This option doesn’t exist in http analytics profile.
I think you can get your statistics based on hostnames from pool/or pool-members statistics as I think you are using irule or LTM policy to redirect traffic based on hostnames.
or I think it would be doable by using iRule to count and return hostnames hits statistics via single virtual server.
Regards.
05-Dec-2022 06:38
Hi @auernige ,
This option doesn’t exist in http analytics profile.
I think you can get your statistics based on hostnames from pool/or pool-members statistics as I think you are using irule or LTM policy to redirect traffic based on hostnames.
or I think it would be doable by using iRule to count and return hostnames hits statistics via single virtual server.
Regards.
12-Dec-2022 04:32
Hi,
thank you for your quick response. I have now an iRule collecting the required information and logging it to a custom logfile (https://community.f5.com/t5/technical-articles/writing-to-and-rotating-custom-log-files/ta-p/278468). This way I can analyze the statistics.
BR,
Elias
12-Dec-2022 07:27
Hi @auernige ,
Very Good Workaround , Greetings
12-Dec-2022 17:40
iRule? That's something @JRahm or @Kai_Wilke might be able to help with. 🙂
13-Dec-2022 06:18
Hey @Leslie_Hubertus ,
Hard to imagine that an iRule can be used to convince the Devs of AVR, that a valid URL contains at least a Protocol, HOST-Name and URI strings. Somehow they missed this fact and anylyzing just URI strings while calling them "URLs"...
But you never know... maybe @JRahm knows how to write such an iRule?
Cheers, Kai