The following topics are addressed here:
Use the create-audit-module subcommand in remote mode to create an audit module for the add-on component that implements the audit capabilities.
Ensure that the server is running.
Remote subcommands require a running server.
Create an audit module by using the create-audit-module(1) subcommand.
Information about properties for this subcommand is included in this help page.
This example creates an audit module named sampleAuditModule:
asadmin> create-audit-module --classname com.sun.appserv.auditmodule --property defaultuser= admin:Password=admin sampleAuditModule Command create-audit-module executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help create-audit-module at the command line.
Use the list-audit-modules subcommand in remote mode to list the audit modules on one of the following targets:
Server instance, server (the default)
Specified server instance
Specified configuration
Ensure that the server is running.
Remote subcommands require a running server.
List the audit modules by using the list-audit-modules(1) subcommand.
This example lists the audit modules on localhost:
asadmin> list-audit-modules audit-module : default audit-module : sampleAuditModule Command list-audit-modules executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help list-audit-modules at the command line.
Use the delete-audit-module subcommand in remote mode to delete an existing audit module.
Ensure that the server is running.
Remote subcommands require a running server.
List the audit modules by using the list-audit-modules(1) subcommand.
Delete an audit module by using the delete-audit-module(1) subcommand.
This example deletes sampleAuditModule:
asadmin> delete-audit-module sampleAuditModule Command delete-audit-module executed successfully. |