I am using Salesforce Enterprise edition, and I have the "System Administrator" profile assigned to me, which has all the permission related to Read, Modify All data, View Event log files, and API enabled.
when I Query workbench with SOQL Query: https://myinstanceURL/services/data/v41.0/query?q=SELECT+Id+FROM+EventLogFile+WHERE+Interval+=+'Hourly'
I received an error saying "Interval field is not supported by EventLogFile".
Please note that this issue occurs in Enterprise edition org (and REST API call seems to work fine in Developer Org).
Then I checked the standard and custom objects and fields to verify them in the workbench "info tab".
On choosing the object "EventLogFile", I didn't find the field "Interval".
Do we need any other permission for accessing the Interval field in the salesforce enterprise edition? Because in the developer edition I am able to find the "Interval" field for the "EventLogFile" object by default.
In both the account the API version being used in 50.0 during login.
Whereas in the documentation, I could find that the "Interval" field is available from API version 37.0 and later.
Due to this, I am unable to query hourly logs, but when the field, Interval is not used in the query, I could find logs.
Please, could anyone tell me where I am wrong? And how to get access to the "Interval" field in Enterprise edition.