Template - createEventLogTemplate

Template - createEventLogTemplate

Description :

This command creates a template with a particular event log as the asset. This command returns a handle to the newly created template. The handle can be used for other commands that need a reference to the new template.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

templateName

String

Template name.

groupId

Integer

Handle to the group that should contain the template.

bExplicit

Boolean

True to create an explicit template, false to create an implicit template. (An implicit template is one that does not appear in the GUI.)

assetPath

String

Name of the local group.

bEventLogMaxSize

Boolean

Audit option for event log max size. True to turn option on, false otherwise.

bEventLogRestrictGuestAccess

Boolean

Audit option for event log restrict guest access (whether guest accounts are allowed to access event logs). True to turn option on, false otherwise.

bEventLogRetention

Boolean

Audit option for event log retention (the amount of time event logs are kept). True to turn option on, false otherwise.

Example

The example for createRegistryKeyTemplate shows how to create a template for an asset similar to this one.

Was this page helpful? Yes No Submitting... Thank you

Comments