SF-Event-Monitoring-Log-Retrieval icon indicating copy to clipboard operation
SF-Event-Monitoring-Log-Retrieval copied to clipboard

Python-based utility to fetch Salesforce Event Monitoring Logs and store them locally for consumption by log monitoring and analytics software.

Results 6 SF-Event-Monitoring-Log-Retrieval issues
Sort by recently updated
recently updated
newest added

Script currently requires a user to run each org individually `$ python retrieveLogs.py {orgname}` instead, an option should be available to run against all orgs defined in the `.env` file.

Data from Event Monitoring Logs can be quite extensive. A flag should be added to allow users to compress files after download.

Creating a file with the name `2020-01-28T00:00:00.000+0000_0AT35000001OAqOGAW.csv` breaks on Windows, a different date format is needed.

If the script fails to run (can't login, run out of storage, etc), send an alert to the relevant system owner along with the error.

Hello When I retrieve a large log, I met a below error. Thank you and BR, Lee. J:\Workspace\EventMonitoring>python retrieveLogs.py sec >>Fetching logs from, sec-b2b.my.salesforce.com Traceback (most recent call last): File...