Hi, All!
https://cloud.google.com/apigee/docs/api-platform/reference/policies/data-capture-policy?hl=en
Given API path https://apigee-host/service/core/v1/configs/auth
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DataCapture name="DC-url-auth" continueOnError="false" enabled="true">
<DisplayName>DC-url-auth</DisplayName>
<IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
<Capture>
<Collect>
<URIPath>
<Pattern ignoreCase="false">/service/core/v1/configs/{$}</Pattern>
</URIPath>
</Collect>
<DataCollector>dc_url_auth</DataCollector>
</Capture>
</DataCapture>
Data Collector is a type of String.
I'm making GET API call to the above API path https://apigee-host/service/core/v1/configs/auth
I anticipate that DataCapture writes API path to the DataCollector, but no values or null are being written.
For example, https://cloud.google.com/apigee/docs/api-platform/reference/policies/data-capture-policy?hl=en#heade... - this case is OK, writes e.g. one of the request header content to the Data Collector.
https://cloud.google.com/apigee/docs/api-platform/reference/policies/data-capture-policy?hl=en#uripa... - this case writes nothing or null to the Data Collector - see my example above.
thanks, Optimism.