Does anyone know if there is a way to parse throug...
# beginners
w
Does anyone know if there is a way to parse through a Script Execution Log or query that data directly so that I can parse it myself? I have a script that runs every few minutes for 100's of records and I need to see if it's running with a particular set of data.
s
you can do a Server Script Log search/query
w
Is that something that I can do through the UI?
s
yes, look for that type in the Saved Search or Analytics section of the UI
w
Okay, I'll check that out. Thanks!
Okay, I have created a Server Script Log Search with the only filter being
Script is ...
and nothing shows up in the search. But if I go to Customization > Scripting > Script Execution Logs I can see results for that particular Script. Is there something I'm doing wrong when creating the search?
b
go through the documentation on Using the Script Execution Log Tab and Viewing a List of Script Execution Logs to learn about how scripts logs are stored for different amounts of time in different places
dont expect to use script logs for serious error logging
w
I don't need to use it for serious error logging, but I should be able to at least search through the log for the last day or even few hours, no? As of right now, I can view the most recent logs from the Script Execution Log Tab, but as soon as I try to customize that view, I get nothing. Even if I remove all search criteria.
Thanks, I finally figured it out. I can't see the results of that saved search directly from the saved search screen by clicking "Preview". I have to actually be in the Script Execution Log and choose that search from the "View" dropdown. Not at all intuitive.