Newer Version Available
Download Large Event Log Files Using cURL with REST
You might have some event log files that are larger than your tool can handle. A
command line tool such as cURL is one method to download files larger than 100 MB using
the sObject Blob Retrieve object
- Example: Use the “X-PrettyPrint” header and the “-o” flag to output large files to .csv formats
- This command downloads a file onto your machine into your downloads folder.
1curl https://yourInstance.salesforce.com/services/data/v53.0/sobjects/EventLogFile/0AT30000000000uGAA/LogFile 2-H "Authorization: Bearer token" -H "X-PrettyPrint:1" -o ~/downloads/outputLogFile.csv
We recommend using compression when downloading large event log files. See Compression Headers.