Logging with Graylog in post client flow

I am using Graylog for logging in apigee. For graylog, I have to use the Service Call out policy for the http call. But as I am using http call for graylog, I can't use it in post client flow , I have to use it in either proxy client flow or target endpoint flow. Due to this reason, I am not able get the policy errors or the target errors in graylog.

message logging policy doesn't support http, rather it support UDP or TCP. So is Graylog is not the right mechanism for logging in apigee or I am missing something. If anybody has any answer please suggest.

Regards,

Krushna

Solved Solved
2 2 272
1 ACCEPTED SOLUTION

Not applicable

Hi @krushna.padhee.ap

You can use fault rules in Proxy end point and Target end point and then use service callout policy to log your messages in default fault rule.

Read more about fault rules here.


View solution in original post

2 REPLIES 2

Not applicable

Hi @krushna.padhee.ap

You can use fault rules in Proxy end point and Target end point and then use service callout policy to log your messages in default fault rule.

Read more about fault rules here.


Thanks Vipul