Log Object Filters
Log Object Filters Overview
In the Application Logs page, there are a few sections that can be used to filter the log objects that display in the log display. The logs which display on this screen are saved in the database in the EP_Logs table. Whenever a filter is applied, it is applying a filter on the query used to select the records to display on this page.
Log Level Filter
All log objects displayed in the Application Logs screen have an associated Log Level. This filter allows us to filter on that level. Multiple levels can be checked to allow multiple to display on the page.
For more information on Log Levels, please see the Log Level Slider section.
Log Object Type Filter
All log objects displayed in the Application Logs screen have an associated Type. The type is designated based on what ran to generate the logs (webpart, process, etc). This filter allows us to filter on that Type.
When “Page” is selected, only webpage logs are shown. If you select a webpage log, it will show all the webparts and associated processes that ran on the page.
When “WebPart” is selected, only WebPart logs are shown. If you select a WebPart log, it will show the all the associated processes that ran within the WebPart.
When “Process” is selected, only Process logs are shown. The process does not need to be a stand alone process. Process Data Sources and WebPart OnLoad Processes will also show. If you select a Process log, it will show only the process logs. All services that ran will be displayed and in the order they ran.
When “Data Source” is selected, only Data Source logs are shown. All services that ran will be displayed and in the order they ran.
When “Workflow” is selected, only Workflow logs are shown. Notice that the Workflow logs do not contain any data. This is because when a workflow runs, it runs workflow status processes. These special processes exist only in workflows, but they are still considered processes, so they will not show when filtered only by Workflow. In order to see all processes associated with the workflow, we will need to filter by both Workflow and Process. In the screenshot below we have applied both filters. As a result we have all processes associated with the workflow, including the initial standalone process (SubmitRGARequest/PRC-10000436) which ran the workflow.
Process Type Filter
If we are trying to display all types of processes, we could use the “Log Object Type Filter” and select “Process”. However, many different types of processes exist. This filter allows us to filter on specific types of processes.
Log Object Filter
The Log Object Filter allows us to apply more general filters than the others available.
Searches “Entity Name”, “LogMessage” and “LogData” attributes of the logs for the typed in value. Can be either a like search or an exact match depending if the “Exact Match” checkbox is checked.
For example, if you have a button named “RenameUser” on the page and you set the text to display as “Submit”, but when you load the page, it shows as “Confirm”, you can assume something on the page is targeting the button and changing the text. If you wanted to find the process that is setting the text you could type “RenameUser” and it would search all the log data to find a service that ran targeting this field.
If you have a specific EntityId in mind, you can type it here, but the most useful feature of this is the drop down. The values in the drop down are all the distinct EntityIds that currently exist in the logs.
If you have a specific Entity type in mind, you can type it here, but for that purpose you could also use the “Log Object Type Filter” or “Process Type Fiter” since they are filtering on the same Log Object property.
The real useful feature of this is the drop down. The values in the drop down are all the distinct Entity Types that currently exist in the logs.
Filter On Selected Entity
If you found a particular log in the Application Logs screen and wanted to more logs like it, you could use this feature. This means if you select a button process, you could click the checkbox and only the logs for this button process would show.
To use this feature, first select the log you would like to see more of. Click “Filter on Selected Entity”. The logs will be filtered to show only the EntityId you selected
If you select something that is related to other logs, like a workflow or a process, you will notice that after filtering, the related logs are also shown. See the example below where a workflow log is selected. In the end result, the workflow as well as the workflow status processes are show.