You need to sign in to do that
Don't have an account?
Qi Huang
Event Log File shows no result
Hi,
I created my Developer account for a day. I want to check Event Log File API.
I used Workbench to query Event Log File.
I loged into https://workbench.developerforce.com/restExplorer.php. In the Rest Explorer, I query for
/services/data/v32.0/query?q=SELECT+Id+,+EventType+,+LogFile+,+LogDate+,+LogFileLength+FROM+EventLogFile
But it returns me 0 size of result, which means no result. (This method of retrieval is described in this blog: http://simplysfdc.blogspot.ca/2014/10/salesforce-event-log-files.html)
But I know for Developer account, there is Event Log File API available for free, and the retention time is 1 day. So I think I should see something. May I know what's wrong? Is it I have to do something in order to see some records?
Thanks.
I created my Developer account for a day. I want to check Event Log File API.
I used Workbench to query Event Log File.
I loged into https://workbench.developerforce.com/restExplorer.php. In the Rest Explorer, I query for
/services/data/v32.0/query?q=SELECT+Id+,+EventType+,+LogFile+,+LogDate+,+LogFileLength+FROM+EventLogFile
But it returns me 0 size of result, which means no result. (This method of retrieval is described in this blog: http://simplysfdc.blogspot.ca/2014/10/salesforce-event-log-files.html)
But I know for Developer account, there is Event Log File API available for free, and the retention time is 1 day. So I think I should see something. May I know what's wrong? Is it I have to do something in order to see some records?
Thanks.
I have access to several Salesforce orgs, and I see that the eventLogFile object is available in all of them, but it's only in the developer org that it produces any logs.
All Answers
I have the same issue. Just found this in the REST API documentation:
"An event generates log data in real time. However, log files are generated the day after an event takes place, during nonpeak hours. Therefore, log file data is unavailable for at least one day after an event. "
Seems like the events won't be available for viewing untill the day after they are created. Which I guess is why we don't see any events in our newly created developer orgs :)
I have access to several Salesforce orgs, and I see that the eventLogFile object is available in all of them, but it's only in the developer org that it produces any logs.
Good day!