The log files from message logging policy will appear on the Message Processor machines, in the following path.
/opt/apigee4/var/log/apigee/message-processor/messagelogging/<ORG>/<env>/<API>/<revision>/<Logging policy>
I'm not sure how to access the logs from this location.
Can anyone please let me know the steps to access the log files? Thanks!
Solved! Go to Solution.
Like Sudheendra mentioned in his earlier comment. You can follow our documentation here: http://apigee.com/docs/api-services/reference/message-logging-policy#thirdparty
There are 2 options:
- use syslog: configure the message logging policy with syslog server details like ip, port and protocol. Example below:
<MessageLogging name="LogToSyslog">> <Syslog> <Message>[3f509b58 tag="{organization.name}.{apiproxy.name}.{environment.name}"] Weather request for WOEID {request.queryparam.w}.</Message> <Host>logs-01.loggly.com</Host> <Port>514</Port> <Protocol>TCP</Protocol> </Syslog> </MessageLogging>
- use file logging and then transfer those files to splunk or similar providers:
http://apigee.com/docs/api-services/reference/message-logging-policy#thirdparty
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |