日志管理

This commit is contained in:
zxr
2026-03-30 17:44:55 +08:00
parent a96208d5c8
commit e7ae4feef5
24 changed files with 3323 additions and 904 deletions

View File

@@ -186,11 +186,12 @@ export const localMenuFlatItems: MenuItem[] = [
title: '日志监控',
title_en: 'Log Monitoring',
code: 'ops:综合监控:日志监控',
description: '综合监控 - 日志监控',
description: '综合监控 - 日志监控(对接 Logs',
app_id: 2,
parent_id: 23,
menu_path: '/monitor/log',
menu_icon: 'appstore',
component: 'ops/pages/monitor/log',
type: 1,
sort_key: 13,
created_at: '2025-12-26T13:23:51.907711+08:00',
@@ -300,6 +301,91 @@ export const localMenuFlatItems: MenuItem[] = [
sort_key: 20,
created_at: '2025-12-26T13:23:51.828777+08:00',
},
{
id: 12010,
identity: '019c7000-0001-7000-8000-000000000001',
title: '日志采集',
title_en: 'Log Ingest',
code: 'ops:日志采集',
description: 'Syslog / SNMP TrapLogs 服务)',
app_id: 2,
menu_path: '/log-mgmt/',
menu_icon: 'File',
type: 1,
sort_key: 21,
created_at: '2026-03-30T10:00:00+08:00',
},
{
id: 12011,
identity: '019c7000-0001-7000-8000-000000000011',
title: '日志查询',
title_en: 'Log Query',
code: 'ops:日志采集:日志查询',
app_id: 2,
parent_id: 12010,
menu_path: '/log-mgmt/entries',
menu_icon: 'List',
component: 'ops/pages/log-mgmt/entries',
type: 1,
sort_key: 22,
created_at: '2026-03-30T10:00:00+08:00',
},
{
id: 12012,
identity: '019c7000-0001-7000-8000-000000000012',
title: 'Syslog 规则',
title_en: 'Syslog Rules',
code: 'ops:日志采集:syslog规则',
app_id: 2,
parent_id: 12010,
menu_path: '/log-mgmt/syslog-rules',
component: 'ops/pages/log-mgmt/syslog-rules',
type: 1,
sort_key: 23,
created_at: '2026-03-30T10:00:00+08:00',
},
{
id: 12013,
identity: '019c7000-0001-7000-8000-000000000013',
title: 'Trap 规则',
title_en: 'Trap Rules',
code: 'ops:日志采集:trap规则',
app_id: 2,
parent_id: 12010,
menu_path: '/log-mgmt/trap-rules',
component: 'ops/pages/log-mgmt/trap-rules',
type: 1,
sort_key: 24,
created_at: '2026-03-30T10:00:00+08:00',
},
{
id: 12014,
identity: '019c7000-0001-7000-8000-000000000014',
title: 'Trap 字典',
title_en: 'Trap Dictionary',
code: 'ops:日志采集:trap字典',
app_id: 2,
parent_id: 12010,
menu_path: '/log-mgmt/trap-dictionary',
component: 'ops/pages/log-mgmt/trap-dictionary',
type: 1,
sort_key: 25,
created_at: '2026-03-30T10:00:00+08:00',
},
{
id: 12015,
identity: '019c7000-0001-7000-8000-000000000015',
title: 'Trap 屏蔽',
title_en: 'Trap Suppressions',
code: 'ops:日志采集:trap屏蔽',
app_id: 2,
parent_id: 12010,
menu_path: '/log-mgmt/trap-suppressions',
component: 'ops/pages/log-mgmt/trap-suppressions',
type: 1,
sort_key: 26,
created_at: '2026-03-30T10:00:00+08:00',
},
{
id: 35,
identity: '019b591d-021a-74a3-8092-c15b990f3c7e',
@@ -311,7 +397,7 @@ export const localMenuFlatItems: MenuItem[] = [
menu_path: '/netarch/',
menu_icon: 'Laptop',
type: 1,
sort_key: 21,
sort_key: 30,
created_at: '2025-12-26T13:23:51.969818+08:00',
},
{
@@ -899,10 +985,11 @@ export const localMenuFlatItems: MenuItem[] = [
title: '系统日志',
title_en: 'System Logs',
code: 'SystemSettingsSystemLogs',
description: '系统日志',
description: '系统日志(操作审计说明,演示见 index_bak',
app_id: 2,
parent_id: 78,
menu_path: '/system-settings/system-logs',
component: 'ops/pages/system-settings/system-logs',
type: 1,
sort_key: 59,
created_at: '2025-12-27T12:31:02.556301+08:00',

View File

@@ -199,11 +199,12 @@ export const localMenuItems: MenuItem[] = [
title: '日志监控',
title_en: 'Log Monitoring',
code: 'ops:综合监控:日志监控',
description: '综合监控 - 日志监控',
description: '综合监控 - 日志监控(对接 Logs同日志查询',
app_id: 2,
parent_id: 23,
menu_path: '/monitor/log',
menu_icon: 'appstore',
component: 'ops/pages/monitor/log',
type: 1,
sort_key: 5,
created_at: '2025-12-26T13:23:51.907711+08:00',
@@ -323,6 +324,99 @@ export const localMenuItems: MenuItem[] = [
},
],
},
{
id: 12010,
identity: '019c7000-0001-7000-8000-000000000001',
title: '日志采集',
title_en: 'Log Ingest',
code: 'ops:日志采集',
description: 'Syslog / SNMP Trap 采集与规则Logs 服务)',
app_id: 2,
menu_path: '/log-mgmt/',
menu_icon: 'File',
type: 1,
sort_key: 5,
created_at: '2026-03-30T10:00:00+08:00',
children: [
{
id: 12011,
identity: '019c7000-0001-7000-8000-000000000011',
title: '日志查询',
title_en: 'Log Query',
code: 'ops:日志采集:日志查询',
app_id: 2,
parent_id: 12010,
menu_path: '/log-mgmt/entries',
menu_icon: 'List',
component: 'ops/pages/log-mgmt/entries',
type: 1,
sort_key: 1,
created_at: '2026-03-30T10:00:00+08:00',
children: [],
},
{
id: 12012,
identity: '019c7000-0001-7000-8000-000000000012',
title: 'Syslog 规则',
title_en: 'Syslog Rules',
code: 'ops:日志采集:syslog规则',
app_id: 2,
parent_id: 12010,
menu_path: '/log-mgmt/syslog-rules',
menu_icon: 'Code',
component: 'ops/pages/log-mgmt/syslog-rules',
type: 1,
sort_key: 2,
created_at: '2026-03-30T10:00:00+08:00',
children: [],
},
{
id: 12013,
identity: '019c7000-0001-7000-8000-000000000013',
title: 'Trap 规则',
title_en: 'Trap Rules',
code: 'ops:日志采集:trap规则',
app_id: 2,
parent_id: 12010,
menu_path: '/log-mgmt/trap-rules',
component: 'ops/pages/log-mgmt/trap-rules',
type: 1,
sort_key: 3,
created_at: '2026-03-30T10:00:00+08:00',
children: [],
},
{
id: 12014,
identity: '019c7000-0001-7000-8000-000000000014',
title: 'Trap 字典',
title_en: 'Trap Dictionary',
code: 'ops:日志采集:trap字典',
app_id: 2,
parent_id: 12010,
menu_path: '/log-mgmt/trap-dictionary',
component: 'ops/pages/log-mgmt/trap-dictionary',
type: 1,
sort_key: 4,
created_at: '2026-03-30T10:00:00+08:00',
children: [],
},
{
id: 12015,
identity: '019c7000-0001-7000-8000-000000000015',
title: 'Trap 屏蔽',
title_en: 'Trap Suppressions',
code: 'ops:日志采集:trap屏蔽',
app_id: 2,
parent_id: 12010,
menu_path: '/log-mgmt/trap-suppressions',
component: 'ops/pages/log-mgmt/trap-suppressions',
type: 1,
sort_key: 5,
created_at: '2026-03-30T10:00:00+08:00',
children: [],
},
],
},
{
id: 35,
identity: '019b591d-021a-74a3-8092-c15b990f3c7e',
@@ -968,10 +1062,11 @@ export const localMenuItems: MenuItem[] = [
title: '系统日志',
title_en: 'System Logs',
code: 'SystemSettingsSystemLogs',
description: '系统日志',
description: '系统日志(操作审计说明页,演示数据见 index_bak',
app_id: 2,
parent_id: 78,
menu_path: '/system-settings/system-logs',
component: 'ops/pages/system-settings/system-logs',
type: 1,
sort_key: 13,
created_at: '2025-12-27T12:31:02.556301+08:00',