Auditing Properties#
AUDIT_FILE_SIZE (Unit: byte)#
Data Type#
Unsigned Int
Default Value#
100M
Attributes#
Read-Write, Single Value
Range#
[0, 232-1]
Description#
This property specifies the size of the binary audit log file in bytes. This property is used when AUDIT_OUTPUT_METHOD is 0.
The value of this property can be changed using the ALTER SYSTEM statement, as shown below, while Altibase is running.
ALTER SYSTEM SET AUDIT_FILE_SIZE=10000;
However, if the server is in the process of auditing, the changed size applies to files that are created thereafter. For the immediate application of the changed value of this property, restart auditing with the ALTER SYSTEM STOP AUDIT and ALTER SYSTEM START AUDIT statement.
AUDIT_LOG_DIR#
Data Type#
String
Default Value#
$ALTIBASE_HOME/trc
Attributes#
Read-Write, Multiple Value
Range#
None
Description#
This property specifies the directory in which the binary audit log file is created. This property is used when AUDIT_OUTPUT_METHOD is 0.
The value of this property can be changed using the ALTER SYSTEM statement, as shown below, while Altibase is running.
ALTER SYSTEM SET AUDIT_LOG_DIR='/tmp';
However, if the server is in the process of auditing, the changed size applies to files that are created thereafter. For the immediate application of the changed value of this property, restart auditing with the ALTER SYSTEM STOP AUDIT and ALTER SYSTEM START AUDIT statement.
AUDIT_OUTPUT_METHOD#
Data Type#
Unsigned Integer
Default Value#
0
Attributes#
Read-Only, Single Value
Range#
[0, 9]
Description#
This property sets the file format for the audit log file. Altibase can store audit information in binary or syslog (syslog is only supported on Linux).
If this property is set to the default value, audit logs are saved in the directory specified for AUDIT_LOG_DIR in binary format. If this property is set to a value between 1~9, logs are stacked in syslog.conf (or rsyslog.conf) using syslog. The syslog message order uses LOG_INFO priority from the syslog.conf file.
0: Stores binary files in the directory specified for AUDIT_LOG_DIR.
1: Stores user facility in /var/log/messages. The file name can be edited at system configuration.
2: Stores to local0 facility, according to user definition.
3: Stores to local1 facility, according to user definition.
4: Stores to local2 facility, according to user definition.
5: Stores to local3 facility, according to user definition.
6: Stores to local4 facility, according to user definition.
7: Stores to local5 facility, according to user definition.
8: Stores to local6 facility, according to user definition.
9: stores to local7 facility, according to user definition.
AUDIT_TAG_NAME_IN_SYSLOG#
Data Type#
String
Default Value#
AUDIT
Attributes#
Read-Only, Single Value
Range#
None
Description#
This property uses the "AUDIT" tag as a delimiter for saving audit logs using syslog.