Skip to main content

XProtect Management Client

管理服务器日志

Last Updated: 2 minute read
版本2026r1
语言中文(简体)

以下是服务器日志的类型:

日志类型

记录了什么?

系统日志

记录系统相关信息。

审核日志

用户活动

规则触发日志

记录用户指定创建新 <日志条目> 操作的规则。有关<日志条目>操作的详细信息,请参阅操作和停止操作。

这些用于记录系统的使用情况。这些日志位于“服务器日志”XProtect Management Client下。

有关用于故障排除和调查软件错误的日志的信息,请参阅调试日志。

搜索和筛选日志

VictoriaLogs支持LogsQL中用于查询日志的各种类型的筛选器。以下是主要的过滤器类型及其用途:

  • [en] General filters for field values, words, phrases, and stream information

  • [en] Searches across multiple fields

  • [en] Time-based filters

  • [en] Day and week range filters

  • [en] Stream filters

  • [en] Word, phrase, and prefix filters

[en] You can combine filters to create more precise queries.

[en] For detailed filter syntax and examples, see the VictoriaLogs documentation: LogsQL documentation

导出日志

例如,导出日志可帮助您将日志条目保存到日志保留期之外。您可以将日志导出为.json文件。

要导出日志:

  1. 使用所需的筛选器发送查询

  2. 选择JSON选项卡。

  3. 单击Download_icon_VictoriaLogs.png以下载日志。根据需要更改名称,然后单击下载。这些文件位于您计算机上的默认下载位置。

[en] The exported file is saved to your default download location.

警告

[en] For CAPSS-compliant systems, Milestone recommends storing exported logs on a secure write-once medium or applying digital signatures using Windows tools or third-party solutions.