- The Security Audit Log saves to a corresponding audit file on a daily basis.
- Depending on the activities executing on the your system the audit log file maybe large and this causes space issue in your SAP application server.
- SAP has recommend archiving your audit files on a regular basis and deleting the original files as necessary.
- The transaction code SM18 is used to delete old audit files.
- You can either delete the files from all application servers or from only the local server where you are working.
Use the following procedure to delete old audit files.
1. Execute Transaction SM18
Enter the Minimum age of files to delete (default = 30 days) . This value must be greater than 3, So if you have given 3 then System will delete files older than 3 days.
Activate the On All Active Instances selection to delete the audit files from all application servers in your System. Leave the selection unchecked if you only want to delete the files from the local application server.
2.Activate the 'Simulation Only' indicator if you do not actually want to delete the files. In this case, the action is only simulated.
3.If you select 'Statistics overview' as log type then output will contains overview of the total deletion and if select Detailed Display it will give you detailed output of the deletion.
4.Choose 'F8 or use Execute' option to execute the task.The system deletes the corresponding audit files. You receive a list showing how many files were deleted and how many were retained on each application server.
5.Alternatively, you can also execute the deletion via report RSAUPURG in transaction code SE38.
You can also read,
Security Audit log activation Procedure - SAP Security audit log activation - SM19
Thanks for reading, Please share your valuable feedback.
Well explined ��
ReplyDeletenice information
ReplyDeleteWell explained, keep sharing
ReplyDelete👍
ReplyDeleteThanks for sharing
ReplyDeleteValuable information
ReplyDeleteGood Blog
ReplyDeleteThanks for sharing
ReplyDeleteNice post
ReplyDelete