Skip to main content

User Behavior Analysis and Built-in Datasets

1. Overview of User Behavior Analysis

User behavior analysis refers to the function of collecting and analyzing the usage of all users and user groups in the system based on metadata such as operation traces/behaviors on the Guanyuan Data BI platform.

2. Value of User Behavior Analysis

  • Helps IT/operation and maintenance departments responsible for on-premises deployment to quickly understand and analyze the usage of business personnel on the current BI platform.

  • Helps IT/operation and maintenance departments, or departments responsible for security monitoring/information security auditing, to completely and conveniently record internal data access operations and behaviors, build a security monitoring and information security auditing mechanism, and effectively protect enterprise data assets.

3. User Behavior Analysis Functional Modules

Currently, the user behavior analysis function mainly consists of two modules: built-in datasets and built-in dashboards.

3.1 Built-in Datasets

Through the underlying database and web requests, we have constructed 8 major built-in datasets for user behavior analysis. These datasets are fully updated daily (T+1).

In on-premises deployment environments, no user has permission to modify, delete, or rename these datasets (not even administrators or owners). However, users can perform secondary development based on these datasets to customize the user behavior analysis logic required by the enterprise.

3.1.1 builtin_execute_record Table

This table is extracted from the underlying MySQL database and is used to store the execution status of datasets and ETL tasks.

Table NameField NameField Type
builtin_execute_recordDomainSTRING
Resource IDSTRING
Resource TypeSTRING
Start TimeTIMESTAMP
End TimeTIMESTAMP
DurationLONG
StatusSTRING

3.1.2 builtin_user Table

This table is extracted from the underlying MySQL database and is used to store user records.

Table NameField NameField Type
builtin_userDomainSTRING
User IDSTRING
MobileSTRING
EmailSTRING
AccountSTRING
Account TypeSTRING
Created TimeTIMESTAMP
Last Modified TimeTIMESTAMP
User AttributeSTRING
Custom RoleSTRING
User StatusSTRING

3.1.3 builtin_card Table

This table is extracted from the underlying MySQL database and is used to store card records.

Table NameField NameField Type
builtin_cardCard IDSTRING
DomainSTRING
Parent Card IDSTRING
Dataset IDSTRING
Creator IDSTRING
Card NameSTRING
Card TypeSTRING
Chart TypeLONG
Created TimeTIMESTAMP
Last Modified TimeTIMESTAMP
Page IDSTRING

3.1.4 builtin_page Table

This table is extracted from the underlying MySQL database and is used to store page records.

Table NameField NameField Type
builtin_pagePage IDSTRING
DomainSTRING
FolderSTRING
Creator IDSTRING
Page NameSTRING
Created TimeTIMESTAMP
Last Modified TimeTIMESTAMP
Page TypeSTRING

3.1.5 builtin_data_flow Table

This table is extracted from the underlying MySQL database and is used to store ETL-related records.

Table NameField NameField Type
builtin_data_flowETL IDSTRING
DomainSTRING
Creator IDSTRING
FolderSTRING
ETL NameSTRING
Input DatasetSTRING
Output DatasetSTRING
Run CountINT
Successful Run CountINT
Last Run DurationLONG
StatusSTRING
Created TimeTIMESTAMP
Last Modified TimeTIMESTAMP
Scheduled Update TimeSTRING
Update MethodSTRING
Last Run TimeTIMESTAMP

3.1.6 builtin_data_source Table

This table is extracted from the underlying MySQL database and is used to store dataset-related records.

Table NameField NameField Type
builtin_data_sourceDataset IDSTRING
DomainSTRING
Creator IDSTRING
FolderSTRING
Dataset NameSTRING
Row CountLONG
Column CountINT
Scheduled Update TimeSTRING
StatusSTRING
Created TimeTIMESTAMP
Last Modified TimeTIMESTAMP
Dataset TypeSTRING
Last Run TimeTIMESTAMP
Data Extraction MethodSTRING

3.1.7 user_and_user_group_relation_record Table

This table is extracted from the underlying MySQL database and is used to store records of user and user group relationships.

Table NameField NameField Type
user_and_user_group_relation_recordUser IDSTRING
User NameSTRING
User Group IDSTRING
User Group NameSTRING
Parent User Group IDSTRING
Parent User Group NameTIMESTAMP

3.1.8 user_behavior_analysis_record Table

This table is generated by recording Request information initiated by the web Http, and is used to store detailed records of user and user group operations.

Table NameField NameField Type
user_behavior_analysis_recordOperation TimeTIMESTAMP
DomainSTRING
Operation NameSTRING
User NameSTRING
User Group NameSTRING
Resource IDSTRING
Resource TypeSTRING
Resource NameSTRING
Login MethodSTRING
Client OSSTRING
Client BrowserSTRING
User IDSTRING
Client IPSTRING

3.1.9 builtin_directory Table

This table is extracted from the underlying MySQL database and is used to store records related to various system folders.

Table NameField NameField Type
builtin_directoryFolder IDSTRING
Folder NameSTRING
DomainSTRING
Creator IDSTRING
Parent Folder IDSTRING
Created TimeTIMESTAMP
Last Modified TimeTIMESTAMP
Resource TypeSTRING

3.1.10 builtin_userGroup Table

Table NameField NameField Type
builtin_userGroupDomainSTRING
User Group IDSTRING
User Group NameSTRING
Parent User Group IDSTRING
Created TimeTIMESTAMP
Last Modified TimeTIMESTAMP
Custom RoleSTRING

3.2 Built-in Dashboards

The current user behavior analysis module provides a set of general user behavior analysis visualization dashboard pages (page name: BI Platform User Behavior Analysis) based on the eight built-in datasets (see 3.1 Built-in Datasets), covering three standard analysis logics: system overview, page and card usage, and security monitoring.

In on-premises deployment environments, no user has permission to modify this built-in dashboard (not even administrators or owners), but the default administrator is the owner and can assign view/save-as permissions to other users. If enterprises need to customize their own user behavior analysis logic, they can perform secondary development based on the eight built-in datasets we provide.

3.2.1 System Overview

Page Module NameCard NameCard Description
System OverviewNumber of System UsersTotal number of current system users
Number of User GroupsTotal number of current system user groups
Number of PagesTotal number of current system pages
Number of CardsTotal number of current system cards
Active UsersTotal number of current active users
ETL Run Count & Average DurationTotal number of ETL runs and average ETL task duration (in seconds)
Top 10 Active UsersTop 10 active users in the current system
Top 10 Active User GroupsTop 10 active user groups in the current system
Pareto Analysis of High-frequency User OperationsStatistics of high-frequency operation types and counts of active users in the current system
Peak Period MonitoringDistribution of total visits by login method for each hour of each day in the current system
API Calls and User Count Weekly Comparison in the Last 90 DaysWeekly comparison of API calls and user count changes in the last 90 days

3.2.2 Page and Card Usage

Page Module NameCard NameCard Description
Page and Card UsageMost Popular Page DashboardsWord cloud of the most popular page dashboard names in the current system
New Cards and Card Creators Weekly Comparison in the Last 90 DaysWeekly comparison of new cards and card creators in the last 90 days
User Group Card Access in the Last 30 DaysChanges in user group card access in the last 30 days
User Group Card Access Count and Users in the Last 30 DaysTotal user group card access count and users in the last 30 days

3.2.3 Security Monitoring

Page Module NameCard NameCard Description
Security MonitoringUser Export Behavior MonitoringDaily monitoring of user export behavior, including who exported and what was exported
User Delete Behavior MonitoringDaily monitoring of user delete behavior, including who deleted and what was deleted

3.3 Built-in Task Operation Dashboard

To effectively simplify the work of IT operation and maintenance teams, Guanyuan Data has built a task operation dashboard in the BI platform, which visualizes all task operation information and allows quick location of problematic tasks when abnormalities are found.

To enable this feature, please contact technical support.

Instructions

  • Built-in dataset: task_status table

  • Dashboard: Task Analysis Dashboard, including common metrics such as daily task run count, average card run time, 90th percentile query time, and tasks with long CPU time.

3.4 Card Type Reference Table

p1.png|450