単一のログファイルの状態を監視する 次のコマンドを使用します。
status log-file-history: ログファイルが処理キューに登録された日時、ログの処理が完了した日時、ログから抽出されたクラウドイベントの数、ログがクラウドにアップロードされた日時、および処理にかかった時間に関する詳細情報を提供します。処理中に発生した例外も表示されます。"support_tenant_sshkey.key": [ "queued at 2016-09-28 07:00:47.197000", "moved for processing at 2016-09-28 07:00:47.724000", "splitting started at 2016-09-28 07:00:49.062000", "splitting finished at 2016-09-28 07:00:49.303000", "completed parsing at 2016-09-28 07:00:59.622000", "completed uploading to cloud at 2016-09-28 07:01:06.831000", "extracted 0 events from 27 lines", "no of sessions is 0", "time taken = 0:00:19.634000" ],status log-file-history summary <no of days>OPLPで処理されたすべてのログファイルの要約を1行で表示します。日数を入力として指定できます。例えば、過去3日間に処理されたログのステータスを確認したい場合は、 コマンド:status log-file-history summary 3
これは、ログファイル名、発見日時、およびそのステータスを返します。
status log-file-history summary 1 { "ip2user_mapping.csv found at 20150330 22:06:12.415000 and its moved for processing", "user2canonical_mapping.csv found at 20150330 22:06:12.457000 and its moved for processing", "asa_Mon_14.log found at 20150330 21:40:18.976000 and and its parsing is complete", "asa_Mon_15.log found at 20150324 23:00:25.628000 and and its parsing is complete", }status log-file-history filename <name of the log file>: ログファイルが処理キューに登録された日時、ログの処理が完了した日時、ログから抽出されたクラウドイベントの数、ログがクラウドにアップロードされた日時、および処理にかかった時間に関する詳細情報を提供します。処理中に発生した例外も表示されます。status log-file-history filename asa_Tue_14.log { "asa_Tue_14.log": "queued at 20150324 21:40:18.977000", "moved for processing at 20150324 21:40:19.032000", "completed parsing at 20150324 21:40:58.683000", "extracted 1 events from 1 lines", "time taken = 0:00:39.706000", }
特定の警告を解除するには、 次のコマンドを使用します。
troubleshooting monitoring clear-unfinished-files
このコマンドは、以下の警告を削除します。
- Log_Process-5a
- Log_Process-5b
- Log_Process-5c
- Files_not_picked_up_24_hrs
- Files_not_picked_up_48_hrs
- Files_not_uploaded_24_hrs
- Files_not_uploaded_48_hrs.
アプライアンスとNetskopeテナントUIは、さまざまなシステムメトリックを含むメトリックアラートを生成します。指標アラートを表示したくない場合は、無効にすることができます。構成モードで次のコマンドを実行します。
appliance> configure Entering configuration mode appliance(config)# set metrics enable false

