Outputs the audit log of operations performed on the resources managed by this product, excluding viewing operations.
Audit logs are output for the operations from the cloud management portal and commands. Registration, modification, and deletion operations for which application tasks occur are logged to the audit log using the applicant ID when all approval processes are output and corresponding resource operation has actually occurred.
The resource operations that are logged are as follow:
Registration, Modification, Deletion
Contract information
Menus
Platforms
Services
Organizations
Users
Starting, Stopping, Snapshots
Services
This section explains how to configure the audit log and the information that is output.
csm_auditlog.xml
%FSCSM_HOME%\conf\
Setting Items | Value | Default Value | Description |
|---|---|---|---|
File | <Output_file_name> | ${com.fujitsu.csb.home}/log/fscsm_audit.log | The output destination of the audit log. ${com.fujitsu.csb.home} indicates the installation folder. |
MaxFileSize | <Maximum size of the log file> | 10 MB | Specify the maximum file size for the audit log file. The file size can be specified using the combination of an integer greater than 0 and a unit (KB, MB, or GB). |
MaxBackupIndex | <The number of versions of the log file> | 9 | Specify the number of versions of the log file that can be saved. Specify an integer between 1 and 100. |
Depending on the user ID or resource ID, approximately 70 bytes are used for logging of each operation. Estimate the total amount of resource operations performed per day and then set MaxFileSize and MaxBackupIndex so that the log file has enough space to record the expected operation events.
Each entry is output in the following format:
"Time Operator Operation Success/Failure"
For Command Operations
"Time Command name Operation Success/Failure"
Item | Content |
|---|---|
Time | Outputs the date and time when the operation was performed in "yyyy/MM/dd HH:mm:ss.SSS" format. |
Operator/Applicant | Outputs the ID of the user who performed the operation or the user who applied for the operation. |
Operation | Operation and target resources |
Success/Failure | When a resource operation was successful, "SUCCESS" is output. When a resource operation failed, "FAILED" is output. |
List of Operations
Operation | Content |
|---|---|
When contract information was created | create contract:[Contract information ID] |
When contract information was modified | modify contract:[Contract information ID] |
When contract information was deleted | delete contract:[Contract information ID] |
When a menu was created | post_menus=create menu:[Menu ID] |
When a menu was modified | modify menu:[Menu ID] |
When a menu was deleted | delete menu:[Menu ID] |
When a platform was created | create bizsystem:[Platform ID] |
When a platform was modified | modify bizsystem:[Platform ID] |
When a Platform was deleted | delete bizsystem:[Platform ID] |
When a service was created | create service:[Service ID] |
When a service was modified | modify service:[Service ID] |
When a service was deleted | delete service:[Service ID] |
When an organization was created | create org:[Organization ID] |
When an organization was modified | modify org:[Organization ID] |
When an organization was deleted | delete org:[Organization ID] |
When a user was created | create user:[User ID] |
When a user was modified | modify user:[User ID] |
When a user was deleted | delete user:[User ID] |
When a service was started | start service:[Service ID] |
When a service was stopped | stop service:[Service ID] |
When a snapshot was created | create snapshot:[Snapshot ID] |
When a snapshot was reverted | restore snapshot:[Snapshot ID] |
When a snapshot was deleted | delete snapshot:[Snapshot ID] |
Log Output Example
2015/06/29 14:35:30.902 fscsm_user create user:op_user SUCCESS 2015/06/29 14:38:18.230 fscsm_user create user:op_manager FAILED 2015/06/29 15:29:43.361 op_manager create org: org_01 SUCCESS 2015/06/29 15:33:51.690 pl_manager create menu: menu_01 SUCCESS 2015/06/29 15:47:30.988 op_manager delete user: sv_manager SUCCESS 2015/06/29 15:49:49.692 op_manager modify user:biz_manager SUCCESS 2015/06/29 16:07:07.381 biz_manger_002 create bizsystem:1 SUCCESS 2015/06/29 16:11:26.194 biz_manager01 create bizsystem:2 SUCCESS 2015/06/29 16:16:19.288 biz_manger_002 modify user:biz_manger SUCCESS 2015/06/29 16:18:49.851 pl_manager modify menu: menu_01 SUCCESS 2015/06/29 16:19:18.382 biz_manger_002 create bizsystem:3 SUCCESS 2015/06/29 16:21:49.945 pl_user modify menu: menu_01 SUCCESS 2015/06/29 16:25:22.274 biz_manager create service:vm-1-biz01 FAILED 2015/06/29 18:07:40.583 biz_manager create service:vm-1-gyoumu100 SUCCESS 2015/06/29 18:07:45.654 biz_manager start service: vm-1-gyoumu100 SUCCESS 2015/06/29 18:09:10.942 biz_manager create snapshot:vm-1-gyoumu100 SUCCESS |