insights
2020.10
false
重要 :
自 2023 年 12 月 31 日起,任何低于 2021.10 版本的 UiPath Insights 版本(包括所有 Insights 仪表板)将不再支持访问,除非将 UiPath Insights 升至更高版本
不在支持范围内
Insights
Last updated 2024年5月21日
启用表格分组
对于生产中的流程和队列数接近每租户上限的大型部署,在 Insights 多维数据集中创建的表格数可能会影响性能。要管理 Insights 为租户创建的自定义表格,可以使用 Insights 管理员自定义表格管理工具删除不需要的表格。
表格分组可用于将来自多个队列或流程的数据组合到单个自定义表格中。无论组中包含多少队列或流程,分组的自定义表格仅计为单个表格,而不是自定义表格限制。如果对已启用自定义表格的队列或流程使用分组,则可以在应用分组后通过“清理表格”选项卡清理以前的自定义表格。如果未清理上一个表格,则仍将其计入表格限制。
在执行
UiPath.InsightsAdminTool
时,您必须使用以下架构定义为 .json
文件提供所需的表分组:
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "The Root Schema",
"required": [
"groups"
],
"properties": {
"groups": {
"$id": "#/properties/groups",
"type": "array",
"title": "The Groups Schema",
"items": {
"$id": "#/properties/groups/items",
"type": "object",
"title": "The Items Schema",
"required": [
"tenantId",
"elasticubeNameTemplate",
"groupName",
"dataSource"
],
"properties": {
"tenantId": {
"$id": "#/properties/groups/items/properties/tenantId",
"type": "integer",
"title": "The Tenantid Schema",
"default": 0,
"examples": [
3
]
},
"elasticubeNameTemplate": {
"$id": "#/properties/groups/items/properties/elasticubeNameTemplate",
"type": "string",
"title": "The Elasticubenametemplate Schema",
"default": "",
"examples": [
"{TENANT}-Cube"
],
"pattern": "^{TENANT}-(.<em>)$"
},
"groupName": {
"$id": "#/properties/groups/items/properties/groupName",
"type": "string",
"title": "The Groupname Schema",
"default": "",
"examples": [
"Group_1"
],
"pattern": "^(.</em>)$"
},
"dataSource": {
"$id": "#/properties/groups/items/properties/dataSource",
"type": "string",
"title": "The Datasource Schema",
"default": "",
"enum": [
"Process",
"Queue"
],
"pattern": "^(.<em>)$"
},
"likeGrouping": {
"$id": "#/properties/groups/items/properties/likeGrouping",
"type": "object",
"title": "The Likegrouping Schema",
"required": [
"likeClause"
],
"properties": {
"likeClause": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/likeClause",
"type": "string",
"title": "The Likeclause Schema",
"default": "",
"examples": [
"%1",
"test",
"%"
],
"pattern": "^(.</em>)$"
},
"excludeLikeClause": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/excludeLikeClause",
"type": "string",
"title": "The Excludelikeclause Schema",
"default": "",
"examples": [
"%1",
"test",
"%"
],
"pattern": "^(.<em>)$"
}
}
},
"inGrouping": {
"$id": "#/properties/groups/items/properties/likeGrouping",
"type": "object",
"title": "The Ingrouping Schema",
"required": [
"elements"
],
"properties": {
"elements": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/likeClause",
"type": "array",
"title": "The Elements Schema",
"default": "",
"pattern": "^(.</em>)$"
}
}
}
}
}
}
}
}
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "The Root Schema",
"required": [
"groups"
],
"properties": {
"groups": {
"$id": "#/properties/groups",
"type": "array",
"title": "The Groups Schema",
"items": {
"$id": "#/properties/groups/items",
"type": "object",
"title": "The Items Schema",
"required": [
"tenantId",
"elasticubeNameTemplate",
"groupName",
"dataSource"
],
"properties": {
"tenantId": {
"$id": "#/properties/groups/items/properties/tenantId",
"type": "integer",
"title": "The Tenantid Schema",
"default": 0,
"examples": [
3
]
},
"elasticubeNameTemplate": {
"$id": "#/properties/groups/items/properties/elasticubeNameTemplate",
"type": "string",
"title": "The Elasticubenametemplate Schema",
"default": "",
"examples": [
"{TENANT}-Cube"
],
"pattern": "^{TENANT}-(.<em>)$"
},
"groupName": {
"$id": "#/properties/groups/items/properties/groupName",
"type": "string",
"title": "The Groupname Schema",
"default": "",
"examples": [
"Group_1"
],
"pattern": "^(.</em>)$"
},
"dataSource": {
"$id": "#/properties/groups/items/properties/dataSource",
"type": "string",
"title": "The Datasource Schema",
"default": "",
"enum": [
"Process",
"Queue"
],
"pattern": "^(.<em>)$"
},
"likeGrouping": {
"$id": "#/properties/groups/items/properties/likeGrouping",
"type": "object",
"title": "The Likegrouping Schema",
"required": [
"likeClause"
],
"properties": {
"likeClause": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/likeClause",
"type": "string",
"title": "The Likeclause Schema",
"default": "",
"examples": [
"%1",
"test",
"%"
],
"pattern": "^(.</em>)$"
},
"excludeLikeClause": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/excludeLikeClause",
"type": "string",
"title": "The Excludelikeclause Schema",
"default": "",
"examples": [
"%1",
"test",
"%"
],
"pattern": "^(.<em>)$"
}
}
},
"inGrouping": {
"$id": "#/properties/groups/items/properties/likeGrouping",
"type": "object",
"title": "The Ingrouping Schema",
"required": [
"elements"
],
"properties": {
"elements": {
"$id": "#/properties/groups/items/properties/likeGrouping/properties/likeClause",
"type": "array",
"title": "The Elements Schema",
"default": "",
"pattern": "^(.</em>)$"
}
}
}
}
}
}
}
}
其中:
groupName
- 该表将在 Insights Cube 中具有的名称。最多可以创建 75 个组。tenantId
- 已应用分组的租户的 ID。dataSource
- 数据源是一个Process
还是Queue
。- 可选:
elasticcubeNameTemplate
- Insights 多维数据集的名称,默认为{TENANT}-Cube
。 如果分组表应转到其他多维数据集,请指定此选项。 例如{TENANT}-DocCube
。 创建表时,租户名称将被替换,因此,如果目标租户为Default
,则该表将添加到Default-DocCube
。
例如:
{
"groups": [
{
"groupName": "Group_1",
"tenantId": 3,
"dataSource": "Process",
"likeGrouping": {
"likeClause": "%1"
}
},
{
"groupName": "Group_3",
"tenantId": 3,
"dataSource": "Process",
"likeGrouping": {
"likeClause": "%3",
"excludeLikeClause": "%Environment_1%"
}
},
{
"groupName": "Doc_1+2",
"tenantId": 3,
"elasticubeNameTemplate": "{TENANT}-DocCube",
"dataSource": "Queue",
"inGrouping": {
"elements": ["Doc", "Doc2"]
}
},
{
"groupName": "TestQueues",
"tenantId": 3,
"elasticubeNameTemplate": "{TENANT}-Test-Cube",
"dataSource": "Queue",
"likeGrouping": {
"likeClause": "%Test"
}
}
]
}
{
"groups": [
{
"groupName": "Group_1",
"tenantId": 3,
"dataSource": "Process",
"likeGrouping": {
"likeClause": "%1"
}
},
{
"groupName": "Group_3",
"tenantId": 3,
"dataSource": "Process",
"likeGrouping": {
"likeClause": "%3",
"excludeLikeClause": "%Environment_1%"
}
},
{
"groupName": "Doc_1+2",
"tenantId": 3,
"elasticubeNameTemplate": "{TENANT}-DocCube",
"dataSource": "Queue",
"inGrouping": {
"elements": ["Doc", "Doc2"]
}
},
{
"groupName": "TestQueues",
"tenantId": 3,
"elasticubeNameTemplate": "{TENANT}-Test-Cube",
"dataSource": "Queue",
"likeGrouping": {
"likeClause": "%Test"
}
}
]
}
重要提示:
- 分组定义文件不支持针对使用
likeClause
多个值。但是,您可以针对excludeLikeClause
传递多个逗号分隔的值。 - Insights 不支持包含 40 列以上的表格,因此您不应在每个表的自定义字段数大于此数量的组中进行分组。
- 在 Orchestrator 中添加并执行新流程或队列时,如果它与现有的组名匹配,则该流程或队列将被添加到分组中,并将自动包含在 Insights 中。
- 如果一个进程或队列与多个分组匹配,它将包含在它匹配的每个分组中。
- 上传新的分组文件后,它将删除以前的分组。