diagnose : index
 
index
Use this command to view (list) or clear logs, or to examine (show) or configure logs.
To use this command, your administrator account’s access control profile must have rw or w permission to the loggrp area. For more information, see “Permissions”.
Syntax
diagnose index all show
diagnose index all clear
diagnose index {alog | dlog | elog | tlog} clear
diagnose index {alog | dlog | elog | tlog} list <index_int>
diagnose index {alog | dlog | elog | tlog} set <queue_int>
diagnose index {alog | dlog | elog | tlog} show
Variable
Description
Default
index {alog | dlog | elog | tlog}
Select which log files to view or affect:
alog — Attack logs.
dlog — Debug logs.
elog — Event logs.
tlog — Traffic logs.
No default.
list <index_int>
Type the number of most recent logs to display.
No default.
set <queue_int>
Type the maximum length of the log before it is flushed and written to disk. The valid range is from 0 to 32768.
No default.
Example
This example displays a list of logs processed.
diagnose index all show
Related topics
config log attack-log
config log event-log
config log traffic-log
diagnose debug
diagnose hardware logdisk info