Disable the capture of analytics dimensions

Not applicable

The analytics metrics, dimensions, and filters available in Apigee are defined -> https://docs.apigee.com/api-platform/analytics/analytics-reference

Can the capture of some dimensions be disabled? e.g. Resolved Client IP / access_token

1 1 96
1 REPLY 1

I don't know the answer to that question.

I suppose as a workaround you could assign bogus values to the respective variables.

But I'm not sure if you can prevent them from being captured completely.

Have you tried "unsetting" those variables? On the message context, there are methods available that you may have used from JavaScript: setVariable() getVariable().

There is also removeVariable(). You could try inserting a JS step in your postflow like:

var varsToRemove = [ 'access_token', 'client_ip', ...];
varsToRemove.forEach(function(v) { context.removeVariable(v); } ) ;