Logging the APIGEE logs

Hi Team

Below are queries related to APIGEE:

-- How to see complete logs of APIGEE (from request to response and back again)

-- If we will use SPLUNK then will we able to capture details (from request to response and back again)

-- If I am using RaiseFault Policy, then will it get capture too if i will use SPLUNK.

Thanks

Pratyush

0 2 104
2 REPLIES 2

Hi,

I guess this link https://community.apigee.com/articles/13298/log-messages-into-splunk.html will answer the most questions you have.

Another link to see the integration from Splunk view https://splunkbase.splunk.com/app/4064/

Cleison Melo

Not applicable

there is a special flow called post-client-flow in the proxy endpoint, which is designed for the logging purpose. If you add your logging policy in the response side of the flow then it will always execute irrespective of the raise fault or errors.

To get full logs you can collect the information in different phases of the proxy flows using javascript or any other policies, and finally add those in the message body of assign message policy. You can push to splunk directly from the policy, or can push from the RMP logs to the splunk.