Jump to content
Welcome to our new Citrix community!

retrieve\inspect the body of http request of post type in the nslog


Ahmad Hasan

Recommended Posts

Greetings,

How can we configure the ADC to send the body (payload) of http request when we use post method. similar to the below, I need to see the body (field1=....)  in the nslog:

POST /test HTTP/1.1 Host: foo.example Content-Type: application/x-www-form-urlencoded Content-Length: 27 field1=value1&field2=value2 

Link to comment
Share on other sites

Yes,

 

Create a audit message action (System -> Auditing -> Message Actions) with expression: HTTP.REQ.BODY(10000) for example, log level INFORMATIONAL

Create a rewrite policy with action NOREWRITE, and set the log action for the rewrite policy to the audit message action created above.

 

 

Then go to System --> Auditing --> Change Auditing Syslog Settings:

Enable the checkbox for "User Configurable Log Messages"

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...