Changing the audit log properties

Ops Center Installation and Configuration Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99OPS001-23
You can change the Common Services audit log properties to change the output.
  1. Log in to the management server as the root user.
    If you log in as an ordinary user, use the sudo command to complete the following procedure as the root user.
  2. Edit the following properties file.

    /var/installation-directory-of-Common-Services/userconf/config_user.properties

    For example, for an OVA install uses the following file:

    /var/opt/hitachi/CommonService/userconf/config_user.properties

    The properties of the audit log are as follows:

    Property

    Description

    CS_PORTAL_AUDIT_ENABLE

    Specify one of the following values to indicate whether to generate the audit log.

    • true: Generate the audit log.
    • false: Do not generate the audit log.

    Default value: false

    CS_PORTAL_AUDIT_SYSLOGHOST

    If you want audit logs output to a server other than the management server on which Common Services is installed, specify the host name or IP address of that server.

    Default value: localhost

    CS_PORTAL_AUDIT_PORT

    Specify the port number of the syslog server.

    Communication with the syslog server is over UDP. TCP is not supported.

    Default value: 514

    CS_PORTAL_AUDIT_FACILITY

    Specify the information needed to identify the sender of a message.

    You can specify the following values:

    • KERN
    • USER
    • MAIL
    • DAEMON
    • AUTH
    • SYSLOG
    • LPR
    • NEWS
    • UUCP
    • CRON
    • AUTHPRIV
    • FTP
    • NTP
    • AUDIT
    • ALERT
    • CLOCK
    • LOCAL0
    • LOCAL1
    • LOCAL2
    • LOCAL3
    • LOCAL4
    • LOCAL5
    • LOCAL6
    • LOCAL7

    Default value: USER

    CS_PORTAL_AUDIT_LEVEL

    Specify the severity levels to include in the audit log output.

    You can specify the following values.

    • DEBUG: Output the audit log for severity levels 0 to 7.
    • INFO: Output the audit log for severity levels 0 to 6.
    • WARN: Output the audit log for severity levels 0 to 4.
    • ERROR: Output the audit log for severity levels 0 to 3.

    Default value: INFO

  3. Restart the Common Services service.