Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to access Message Processor machines to check logs

Not applicable

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 Solved
0 8 4,098
1 ACCEPTED SOLUTION

adas
New Member

@Swapna

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

View solution in original post

8 REPLIES 8