Forum Discussion
Wasfi_Bounni
Jul 01, 2021Cirrocumulus
How can I exclude a cookie from being logged to the external log server
Hi; With an AWAF Logging Profile for the purpose of sending Request log messages to a Splunk Server, how can I log all headers except a cookie? Kindly Wasfi
- Jul 01, 2021
Hi Wasfi,
you could mask the cookie value in the logs. The process is described in K52154401.
It should look similar to this:
KR
Daniel
Wasfi_Bounni
Cirrocumulus
Thank you Daniel. Although my intention is not to log the Cookie due to its length, not due to its private content. It is consuming most of the log message.
Would masking it reduce its length too?
Daniel_Wolf
Jul 02, 2021MVP
Nothing that comes to my mind instantaneously. Maybe a filter on the log server rather than on the BIG-IP?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects