HTTP Analytics Profile - Collect Domain Names

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

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.

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

Hi  @auernige  , 
Very Good Workaround , Greetings

iRule? That’s something  @JRahm  or  @Kai_Wilke  might be able to help with. :slightly_smiling_face:

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