Now that you’ve taken the time to learn about event log files and how to download them from Salesforce, it’s time to talk about visualizing your data. For more information and to download the code, see this post. Some setup is required, but after that you can easily run your download script. Python is easy to understand, even if you’re not an experienced programmer. One advantage of using a Python script over a cURL script is that it’s easier for Windows users to work with, but it’s also suitable for Mac and Linux users. If you need a more programmatic way of downloading your organization’s event log files, you can use Python scripts. Parsing the results of the query so that you can do things like create a date-based file structure-you can perform any transformations on your data that you want.įor more information on using cURL with event log files, see this post. You can use something like this query to filter events by the current day.Ĥ. If you’re scheduling a recurring download, this step is important. If your organization has an integration specialist, you can pass off these scripts to kick-start automation efforts. You can also transform your data so that it’s in a format you want. Rather than manually downloading log files, you can schedule when to run the script so that you always have the most recent event log files for your organization. So, why use cURL instead of the direct download tool?Īlthough using cURL is more complicated than the first method, it provides more flexibility in working with event log files. csv file exactly like the one you downloaded in the previous step. cURL is one of many command-line tools that you can use to download data from your organization. Each event type also has a button that downloads a cURL script that you can run in your computer’s command line. We know that you’re excited about cracking your first case, but this victory is only the beginning of your illustrious career as a Salesforce admin/detective. Now it’s time for justice to be served! Download Event Log Files Using cURL The user ID and the report ID are a match! You now have enough evidence to confirm that Rob Burgle exported the report. All of this information helps you pinpoint the culprit. The URI field contains the ID of the report that was exported, and the USER_ID field contains the ID of the user who exported that report. Let’s say that our lead report’s ID is 00O30000008a3De. That looks much better! Now we can finally figure out how that confidential information got leaked. Events do not appear in the log file until at least 24 hours after they occur. If you don’t have any report export events, download another type of event log file or export a report and try this step again tomorrow. Using the ELF Browser application is the most straightforward approach to downloading your organization’s Event Monitoring data. Direct download via the Event Log File (ELF) Browser application.You can download event log files in several ways, including: To maximize the benefits of Event Monitoring, download your event log files from Salesforce so that you can track them over time. But because you’re accessing the data through the application programming interface (API), you can also use other tools that make it easier to work with event log files. You can use Developer Console to check your organization’s events and filter the events using criteria. Identify options for visualizing event log file data.Explain how to use a cURL or Python script for downloading data.Identify an application for downloading event log files without writing code using the Event Log File (ELF) Browser.Describe the structure of event log files.After completing this unit, you’ll be able to:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |