Template - createEventLogListTemplate
Template - createEventLogListTemplate
Description :
This command creates a template with all the event logs as assets. 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.) |
bEventLogMaxSize | Boolean | Audit option for event log maximum 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 createLocalUserListTemplate shows how to create a template for an asset similar to this one.