Audit Log

The Audit Log contains information about all events that have occurred on the LEAPWORK Automation Platform. This includes editorial events as well as the running of flows using scheduling, the REST API or by any other method.

Note: Audit Log settings would be available if you are logged in as an administrator and are allowed to filter, search, and export log data.

The Audit Log can be used for internal as well as external audits and can serve as a tool to debug unusual events and scenarios.

Filtering and sorting

The Audit Log allows advanced filtering and sorting options. The basic filter is a From and To date, which per default is set to 'Today'.

To change the dates, open the date pickers, and click 'Load'. To go back to the default dates, click 'Reset'.

audit log filtering

The log can be sorted by clicking on the column headers:

  • Date of the event
  • IP address of the machine performing the activity
  • Hostname of the machine performing the activity
  • User/system ID performing the activity
  • Event, for example “Create flow” or “Delete image”.
  • Affected asset, for example the flow affected by the change or the image deleted.
  • Details

To filter the log based on a value in a given column, it is possible to add a Filter. To add a Filter, hover a column and click on the filter icon:

filter icon

 

There are two types of Filters:

  • Rule-based
  • Value-based

For Rule-based filters, you can add a pattern which the values in the column must match. For example, open the Filter dialog for the 'User or system' column. Select 'Begins with' in the first dropdown, and then specify “ad” in the second field. This will filter the log, so only entries where the user or system name start with “ad” is shown.

For the Value-based filters, you choose between the existing values in the column, and can select one or more of them.

audt log - value-based filtering-962911-edited

All added filters are shown in a list at the bottom of the log. This helps to maintain an overview of the filters and gives a fast access to edit the filters using the Filter Editor.

The Filter Editor shows all the added filters in a simple query language and allows changes to the filter directly. To open the Filter Editor, click on the edit icon in the lower-right corner of the log:

pen icon
 

 

In the example below, two filters have been added:

  • Only events triggered by the Admin user
  • The name of the Asset (i.e. the flow or sub-flow) should begin with the word “radio”.

filter editor

To change the filters simply click on the part you want to change and select/enter a new value. By clicking 'Apply' the new filtering is applied to the log. Alternatively, you can open the individual filters by clicking in the column headers as described above.

To reset all filters, click 'Reset' in the top menu, or click the reset icon in the lower-right corner of the log, to just remove the column filters and keep the date selection: 

reset filters

 

Exporting the log

The audit log can be exported into Excel, HTML, or PDF format in case the data is needed outside LEAPWORK. Click 'Export' to save the log data – respecting any added filters – in one of the three formats.