Difference between revisions of "API for logs manpage"
From cpwiki.net

(Created page with " mgmt_cli show-logs new-query.filter product:<product name> new-query.time-frame <time-frame> new-query.max-logs-per-request <limit> filter - The filter as entered in SmartC...") |
|||
Line 4: | Line 4: | ||
filter - The filter as entered in SmartConsole/SmartView. Type: String | filter - The filter as entered in SmartConsole/SmartView. Type: String | ||
− | time-frame - Specify the time frame to query logs. | + | time-frame - Specify the time frame to query logs. Type: String |
− | + | Valid values: last-7-days last-hour today last-24-hours yesterday this-week this-month last-30-days all-time custom Default: last-7-days | |
− | + | custom-start - Must be in ISO861 format. Type: String | |
+ | |||
+ | custom-end - Must be in ISO861 format. Type: String | ||
+ | |||
+ | max-logs-per-request - Valid values: 1-100 Default: 10 Type: String | ||
+ | |||
+ | type - Type of logs to return. Valid values: logs, audit. Default: logs | ||
+ | |||
+ | log-servers - List of IPs of log servers to query. Default: all |
Revision as of 22:41, 26 March 2025
mgmt_cli show-logs new-query.filter product:<product name> new-query.time-frame
filter - The filter as entered in SmartConsole/SmartView. Type: String
time-frame - Specify the time frame to query logs. Type: String
Valid values: last-7-days last-hour today last-24-hours yesterday this-week this-month last-30-days all-time custom Default: last-7-days
custom-start - Must be in ISO861 format. Type: String
custom-end - Must be in ISO861 format. Type: String
max-logs-per-request - Valid values: 1-100 Default: 10 Type: String
type - Type of logs to return. Valid values: logs, audit. Default: logs
log-servers - List of IPs of log servers to query. Default: all