We have previously looked at how to set up custom logging for your workflow.
In this article we will show you how you search through the logs that have been generated by a workflow, to find information on what was transferred, and when it happened.
To search through logged items for a given workflow, go to the workflow editor and click the search icon🔍:
...
A popup will appear, showing a list of previous searches and their results:
...
Click the New button to create a new search query.
You will be presented with the following search options:
Under Block select which block you want to search the logs for
Under Search option select the type of data to search for
“All data” lets you search through all data returned by the block as output (as defined in the search model)
“By user log” lets you search for all messages generated in the block code, using the logger.log() function
Search From and Search To specify the search range
Hide in result lets you choose results to filter out, for example if the block ran but did not provide a response
A text search field will be shown if you are using the search option “By user log”. This lets you to search for all logged messages containing a certain string.
Note: The string should not be placed within quotation marks (i.e. not “Test”, just Test).
...
Click the Find button to start the search.
When the search has finished it will show status Completed, and it will show how many matches was found:
...
Click the View button to inspect the results.
Here you will find the logged output for the different runs, and a button for downloading the logs if needed:
...