Event Viewer
  • 02 Aug 2023
  • 4 Minutes to read
  • Dark
    Light

Event Viewer

  • Dark
    Light

Article Summary

The Event Viewer folder contains various Reports used by Administrators to troubleshoot Decisions. These Reports will only contain information if the feature is used.


Event Viewer Report - Deprecated

Note: Starting from v8.13 and above, this feature is deprecated and will no longer be supported or actively maintained.  The rest of the Reports in the Event Viewer folder will be accessible, but the EVENT VIEWER report clickable on in the header (seen in the picture below next to ACCOUNT LOGIN HISTORY) will be removed. For any questions or further assistance, please reach out to support@decisions.com.


The EVENT VIEWER can be located by navigating to System > Administration > System Tools > Event View. The Event View Report displays time stamps, warning levels, the category of messages, and the description of messages.



Accounts Login History

The ACCOUNT LOGIN HISTORY tracks the LOGIN DATE, EMAIL ADDRESS of the user, and the LOGOUT DATE all users in the instance.


Active Users

The ACTIVE USERS displays the ACCOUNT ID, MACHINE NAME, SERVER, OS, LAST UPDATE LOCATION, and EMAIL ADDRESS associated with the currently active user(s).

Archived Entities

When an Entity is marked as Deleted, it is also marked as Archived and an Archive Date is automatically generated for 30 days in the future. The ARCHIVED ENTITIES Report shows Deleted Entities (ENTITY NAME), deletion date (DELETED ON), and who they were DELETED BY. The available actions on each Deleted Entity are Set Archive Date, Unarchive Designer Element [PageElement], and Undelete Designer Element [PageElement].

Alternatively, entities may be undeleted. 


Boot History

The BOOT HISTORY Report displays the date and time of when an Instance was restarted under WHEN BOOTED. It also lists the VERSION, IP ADDRESS, MACHINE NAME, RESTARTED BY, and the RESTARTED REASON.

Cache Size

The CACHE SIZE Report displays the different Cache Definitions and the size (COUNT) they consume.


Client Events

The CLIENT EVENTS Report shows a list of activities occurring on each User Session. This tracks all of the Events being sent to the browser session while a user is logged in.


Code Buckets

When Decisions compiles any custom structure or service, it will generate a .cs file dynamically and place this file in CODE BUCKETS. 

The Report displays all Code Bucket files (BUCKET NAME and CODE FILE NAME) that have been compiled inside Decisions. There are actions to Edit Code or Delete Code.

It is not recommended that users edit or delete compiled code unless they are advanced users.



Code Bucket Install History

As new Code Buckets get generated by user actions or by generated services, the compiled code gets installed into Decisions. The CODE BUCKETS INSTALL HISTORY Report will show when a new code has been compiled and installed.


Code Compile Results

All generated structures and integrations will compile code within Decisions. Any Integration that creates Flow steps or Data Types will trigger a code compile. This report shows a list of the Files that have been compiled (COMPILE ID) and whether or not any of them ran into any issues (ERRORS ENCOUNTERED/ERRORS).


Data Structure Status

The DATA STRUCTURE STATUS Report shows every Data Structure within Decisions including whether or not they are compiled (STATE). Actions on this Report include modifying and viewing the data structure and re-compiling if it is unloaded (RETRY). 


Heaviest DB Queries

Different queries submitted to a database can take up varying amounts of CPU Time and Run Time. The HEAVIEST DB QUERIES Report consolidates and lists the top 10 Heaviest DB Queries, their Average CPU Time, Average Run Time, and the number of times the query was executed (EXECUTION COUNT). To execute these queries, users need special permission to view the server state on the Master DB. Use [master] GO GRANT VIEW SERVER STATE TO [<SpecifyUserName>] GO.


Lock Service Details

The LOCK SERVICE DETAILS Report displays any entity that has been locked (LOCKED ENTITY NAME), the duration of the lock (LOCKED UNTIL), along with the details of who locked it (BY USERID, EMAIL, CLIENTID). 


Message Queues

The MESSAGE QUEUES shows the NAME of Message Queues that have been integrated, like RabbitMQ or MSMQ, and how many messages (MESSAGE COUNT) are queued up to process.

For more information, see Setting Up Messaging Overview.


Orphan Entities

The ORPHAN ENTITIES Report displays entities that were once in a Folder, but the Folder that contained them has since then been removed.


Report Activity

The REPORT ACTIVITY displays a current snapshot of all Reports that are currently being run and in system memory. It includes information such as the Report NAME, REPORT ID, and how much Memory the Report is using (ROWS IN MEMORY).


Report Execution Statistics

Though similar to the Report Activity Report above, the REPORT EXECUTION STATISTICS also includes Historical Data from Reports that are no longer in Memory.


Report Structure

The REPORT STRUCTURE Report contains detailed information on any Report in the Portal. This report includes NAME, ID, TYPE, DATASOURCE NAME, DATASOURCE TYPE, ALL FIELDS, and more.


Scheduled Job Log Report

The SCHEDULED JOB LOG Report displays detailed information about each Job including WHEN STARTED, WHEN COMPLETED, ENDED IN ERROR, and the ERROR MESSAGE.


System Activity

The SYSTEM ACTIVITY displays 30-second snapshots of usage statistics (Flows, Steps, Rules, Jobs, API Calls, and RAM) inside the Portal.


Thread Jobs Report

The THREAD JOBS Report displays all the Active Thread Job pools and their corresponding Queued Jobs. Within each Thread Queue (QUEUENAME), there is an action to Run Now or Clear Job.

. 

Upgrade History Report

The UPGRADE HISTORY Report displays the DateTime of the Verision (VERSION DATE) along with the Version number (VERSION LABEL).


Capture API Timings/FlowStep Timings/SQL Calls

This feature has a setting to configure the time. If FlowSteps, API and SQL calls are taking more than the configured time to execute, the timings will be logged in the "Decisions.Web.Core.log" file located at C:\Program Files\Decisions\Decisions Server\Logs

Log message example: "Warning","MessageTemplate":"Step Delay Next Step 1/DelayFlowStep in Flow Test_Flow took 5010.6772 milliseconds to execute"

Note:
This can only be used during Runtime. By default, the values to these Settings are read from the Settings.xml file, so whenever the Decisions instance is restarted, the values will reset as per the Settings.xml file.
<LogAPICallsTakingMoreThanSeconds>5</LogAPICallsTakingMoreThanSeconds>
<LogSqlStatementsTakingMoreThanSeconds>5</LogSqlStatementsTakingMoreThanSeconds>
<LogFlowStepsTakingMoreThanMilliseconds>1000</LogFlowStepsTakingMoreThanMilliseconds>





Was this article helpful?