function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TusarTusar 

salesforce rest api

Hi, we are invoking some of the rest services through an app using mobile  sdk, We are not sure if the call is being made to the platform,
as we dont see any in the debug logs with the finest setting, Whats the best way to monitor  the logs?

 
NagendraNagendra (Salesforce Developers) 
Hi Tusar,

If Setup->Monitoring->Debug logs won't meet your needs, you can do a few things.
  • Use an AppExchange Application to log items. ​http://appexchange.salesforce.com/listingDetail?listingId=a0N30000003IZ5PEAW for example. There are a few items on the AppExchange that meet this requirement and are free.
  • Build your own logging application. By combining Apex, Apex Triggers, Custom Objects, and SFDC Content or Documents you could build your own logging application. Your Apex Code could log the activities and persist to a custom object or document, etc.
  • In case you need more general overview, it can be useful to see API Usage Report. You can find it underReports->Administrative Reports->API Calls Made Within Last 7 Days. It helped me quickly locate a source of an excessive amount of API requests.

There is now the Event Monitoring API
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/using_resources_event_log_files.htm
 (Paid Feature). You can use this with the API EventType to get a complete log of all the calls that were made on a certain day. You can use the METHOD_NAME, USER_ID, CLIENT_ID to identify who and what was making each call.
User-added image

You may see some additional details about this in Monitoring your Salesforce API usage(http://www.fishofprey.com/2016/06/monitoring-your-salesforce-api-usage.html)

For more information on this please refer to the below links; Kindly mark this post as solved if it's resolved.

Best Regards,
Nagendra.P