Apigee trace - Can we filter based on API name?

Apigee trace is very useful in debugging.

But when we more APIs in a proxy then it is difficult to fetch the logs for a particular API in production/ quality testing environments.

Is there way to apply the filter based on API name?

Solved Solved
0 1 308
1 ACCEPTED SOLUTION

Can we filter based on API name?

  • At this point of time, Answer is NO, You can filter only based on headers & query params.

Regarding, your statement, "difficult to fetch the logs for a particular API in production/ quality testing environments."

  • Trace should not be used for production traffic, it will have performance implications.

Is there way to apply the filter based on API name?

  • Use message logging policy to log API data to 3rd party systems like syslog server / loggly / splunk & leverage same for log filtering & log access.

Hope it helps.

View solution in original post

1 REPLY 1

Can we filter based on API name?

  • At this point of time, Answer is NO, You can filter only based on headers & query params.

Regarding, your statement, "difficult to fetch the logs for a particular API in production/ quality testing environments."

  • Trace should not be used for production traffic, it will have performance implications.

Is there way to apply the filter based on API name?

  • Use message logging policy to log API data to 3rd party systems like syslog server / loggly / splunk & leverage same for log filtering & log access.

Hope it helps.