Retrieve target.host in the Fault Flow

Hello, 

when Apigee catch the fault.name "ServiceUnavailable" (backend doesn't respond), i try to access to the variable target.host to write in the log the backend, but the variable is empty. We need it to make Alarm.

How can we do?

0 1 87
1 REPLY 1

Have you tried PostClientFlow using the Message-Logging policy that sends log message containing the target.url
The log message is composed before the target is invoked (In the preflow of TargetConnection)

Thanks
Gana