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 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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).
create audit log

create audit log

Function

The create audit log command is used to create the audit log.

Format

create audit log query_date=? [ query_end_date=? ] [ vstore_id=? ] [ audit_log_file_size=? ]

Parameters

Parameter

Description

Value

vstore_id vStore ID. This parameter is delivered when the multi-tenant license exists.

The value ranges from 1 to 511.

query_date Data range of the audit log.

The value is in the format of "year-month-day", where:

  • "year": The year ranges from 2000 to 2035.
  • "month": The month ranges from 01 to 12.
  • "day": The day ranges from 01 to 31.
audit_log_file_size Size of a single audit log.

The value ranges from 10 to 100.

query_end_date End date of the audit log. The value must be greater than or equal to the value of "query_date" and the difference between "query_end_date" and "query_date" cannot exceed 7 days.

The value is in the format of "year-month-day", where:

  • "year": The year ranges from 2000 to 2035.
  • "month": The month ranges from 01 to 12.
  • "day": The day ranges from 01 to 31.

Level

Administrator

Usage Guidelines

Before the operation, check whether the vStore ID and query date are correct.

Example

  • Create the audit log whose vStore ID is "1" and date is "2017-01-05".

    admin:/>create audit log  query_date=2017-01-05 vstore_id=1
    Command executed successfully.
  • Create the audit log whose vStore ID is "1" and date is from "2017-01-05" to "2017-01-06".

    admin:/>create audit log query_date=2017-01-05 query_end_date=2017-01-06 vstore_id=1
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 380671

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next