サーバーログの管理
サーバーログには以下の種類があります。
ログタイプ | 何がログをされているか? |
|---|---|
システムログ | システム関連情報 |
監査ログ | ユーザーアクティビティ |
ルール起動ログ | ユーザーが新しい<ログエントリ>の作成アクションを指定したルールを録画します。<ログエントリ>アクションの詳細については、を参照してくださいアクションと停止アクション。 |
これらは、システムの利用状況を記録するために用いられます。これらのログは、サーバーログの下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ファイルとしてエクスポートできます。
ログをエクスポートするには:
必要なフィルターでクエリを送信
JSONタブを選択します。
クリックし
てログをダウンロードします。必要に応じて名前を変更し、Download(ダウンロード)をクリックします。ファイルは、コンピュータのデフォルトのダウンロード場所にあります。
[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.