Like with any system the essence of debugging lies in how meaningful the logs are and Alteryx workflows are no exception. For enterprise systems using Alteryx three main aspects have to be paid attention to :
What information to log and how
Answer to what is pretty straightforward, it should be what will help you identify the root cause. During the workflow execution, Alteryx will itself generate tool id, start-and-end message, and standard information generated by the tool like SQL executed by the Input tool, etc. Besides this, you can utilize the Message tool to create custom messages that will become part of the log. The Message Tool can be set up to pick up records before, during, and after the records have passed through the tool itself. This makes it useful for evaluating your dataset at different parts of your workflow.
How to access it
On the Alteryx server, there are two types of logs generated :
Server logs contain information about the Alteryx runtime environment and are meaningful to the people supporting the Alteryx service (DevOps).
Workflow execution contains information on the processing of the business logic, data transformation, and interaction with input/output data sources. This is meaningful to the Business users and DevOps team.
As the two data sets cater to a different user base they should be persisted separately. The most common tool available in the market is Splunk, which can house this data set in two different indices with specific permissions.
Who should be Alerted
Apart from making the information available in Splunk, there is a need to alert Business users and/or DevOps team in case of specific events. These events could be categorized into two broad categories
As both the events need immediate attention, they are best served by an email alert and can be set up using the Workflow “Events”. This is found under “Events” in the workflow configuration panel.
In this way, you achieve the following:
There are actually more than just 2 😉 Gallery Logs. AAS Logs as well 😁
you are correct, point i am elaborating is you can separate out the logs so that concerned parties get the information they need. If I am not mistaken aas logs get created only when you have SAML based authentication. If you have windows integrated solution then I have not seen them being generated