AuditEventFormatterCommands command group for the AdminTask object

You can use the Jython scripting language to manage the security auditing system with the wsadmin tool. Use the commands and parameters in the AuditEventFormatterCommands group to manage the event formatter for the audit service provider.

Use the following commands to display information about the audit event formatter:

getEventFormatterClass

The getEventFormatterClass command retrieves the class name of the event formatter specified by the reference ID of the binary file audit service provider of interest.

The user must have the monitor administrative role to run this command.

Target object

None.

Required parameters

-emitterRef
Specifies the reference ID of the audit service provider implementation of interest. (String, required)

Return value

The command returns a null value if the event formatter class is not defined for the audit service provider implementation of interest.

Batch mode example usage

  • Using Jython string:
    AdminTask.getEventFormatterClass('-emitterRef AuditServiceProvider_1173199825608')
  • Using Jython list:
    AdminTask.getEventFormatterClass(['-emitterRef', 'AuditServiceProvider_1173199825608'])

Interactive mode example usage

  • Using Jython:
    AdminTask.getEventFormatterClass('-interactive')