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
msreekmattmsreekmatt 

Event log files not retrieving all events ..

running the below query in workbench only gives login events, how do I get other events like API calls ?

/services/data/v29.0/query?q=SELECT+Id+,+EventType+,+LogFile++,+LogDate+,+LogFileLength+FROM+EventLogFile
James LoghryJames Loghry
Ran the same query and I'm seeing API event log results coming back. Try filtering on the EventType = 'API', and using v35.0 of the REST API rather than v29, and perhaps that will make a difference?

https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_event_log_file_query.htm
msreekmattmsreekmatt
Maybe it is already enabled for you, tried this and returned 0 results. /services/data/v32.0/query?q=SELECT+Id+,+EventType+,+LogFile++,+LogDate+,+LogFileLength+FROM+EventLogFile+WHERE++EventType+=+'API'
msreekmattmsreekmatt
wondering if we should we get the feature enabled or something to get additional event types?