No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show audit_strategy

show audit_strategy

Function

The show audit_strategy command is used to query audit log policies.

Format

show audit_strategy [ service_type=? ]

Parameters

Parameter

Description

Value

service_type=?

Audit log service type.

To obtain the value, run the "show audit_strategy" command without parameters.

Level

Guest

Usage Guidelines

  • Run the "show audit_strategy" command to query the audit log policies of all services.
  • Run the "show audit_strategy service_type=?" command to query the audit log policy of a specific service.

Example

  • Query the audit log policies of all services.
    admin:/>show audit_strategy 
      
    Service Type  Audit Enabled  Single Logfile Size(MB)  Reserve Logfile Number(K)  File System ID  File System Name  Auto Delete Switch  Record Fail Action  Audit Paused  File Retention Days  Available Capacity(GB) 
    ------------  -------------  -----------------------  -------------------------  --------------  ----------------  ------------------  ------------------  ------------  -------------------  ---------------------- 
    NAS           Yes            50                       100                        0               FileSystem001     On                  Interrupt Service        No            0                    0  
  • Query the audit log policy of the NAS service.
    admin:/>show audit_strategy service_type=NAS 
      
      Service Type              : NAS          
      Audit Enabled             : Yes           
      Single Logfile Size(MB) : 50           
      Reserve Logfile Number(K) : 100         
      File System ID            : 0           
      File System Name          : FileSystem001           
      Auto Delete Switch        : On           
      Record Fail Action        : Interrupt Service  
      Audit Paused              : No           
      File Retention Days       : 0            
      Available Capacity(GB) : 0

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Service Type

Audit log service type.

Audit Enabled

Switch of starting and stopping audit log collection.

Audit Paused

Switch of suspending audit log collection.

File System ID

Audit log file system ID.

File System Name

Audit log file system name.

Single Logfile Size(MB)

Size of a single audit log.

Reserve Logfile Number(K)

Number of reserved audit logs.

File Retention Days

Number of days that audit logs are reserved.

Available Capacity(GB)

Available capacity threshold of the audit log file system.

Auto Delete Switch

Automatic deletion switch of audit logs.

Record Fail Action

Service response after audit logs fail to be recorded.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138390

Views: 237861

Downloads: 150

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next