07-07-2015 02:08 AM - edited 03-11-2019 11:13 PM
Hi everyone,
I know this topic has already been talked about but i can't figure out how sut up url logging on the ASA. I know it has to do with http inspection, but i'm looking for setting URL logging only for a given subnet (dedicated to guest connections) and send it to a syslog server.
Can somebody help me doing this ?
Thanks in advance
07-07-2015 08:33 AM
Hi,
I could not see anything related to enabling url logging for specific subnet. It would generate specific log id (304001) and that is how it is being sent to syslog server.
Or your could enable http inspection for your required Guest Subnet. In that case it would generate syslog for your concerned traffic.
For that,You could create one access-list with your matched source traffic, call it under a layer 3 class-map and call the class-map under the global_policy. Instead of enabling http inspection under inspection_default, enable it under customized class-map.
Please let me know if you have any query on this. If this answers your query, I would request you to select the appropriate response as the solution for this thread.
Regards,
Akshay Rastogi
07-08-2015 01:49 AM
hi,
Thanks a lot for your quick answer. I will try this whenever I can :
access-list ACLURL standard permit x.x.x.x 255.255.255.0
class-map classeURL
description class map for URL logging of guest access
match access-list ACLURL
policy-map global_policy
class classeURL
inspect http
Will this only take effect on the specified network in the ACL please ? I'm a bit afraid by the "global-Policy" thing haha
Anyway, thanks for your help
07-08-2015 08:13 AM
Hi,
Yes, you could try this. Do not worry. If the traffic matches the subnet defined in access-list then it would hit your customized class-map and would perform the associated action.
Please let me know if you have any query on this. If this answers your query, I would request you to select the appropriate response as the solution for this thread.
Regards,
Akshay Rastogi
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide