The current version of Indeed Log Server supports:
Event reading is supported from only one storage (<ReadTargetId>). Event writing is supported in several storages (<WriteTargets>) simultaneously. |
The read and write sources are configured in the configuration file C:\inetpub\wwwroot\ils\clientApps.config in the <Application Id="pam" SchemaId="Pam.Schema"> section.
The source for reading events is specified in the tags <ReadTargetId> .. </ReadTargetId>.
Sources for recording events are specified one by one in the <TargetId> .. </TargetId> tags and are listed in the WriteTargets section.
Go to the C:\inetpub\wwwroot\ls folder and edit the clientApps.config file by changing the item:
<!--<Application Id="pam" SchemaId="Pam.Schema"> <ReadTargetId>pamEventLogTarget</ReadTargetId> <WriteTargets> <TargetId>pamEventLogTarget</TargetId> </WriteTargets> <AccessControl> <CertificateAccessControl CertificateThumbprint="001122...AA11" Rights="Read" /> </AccessControl> </Application>--> |
this way:
<Application Id="pam" SchemaId="Pam.Schema"> <ReadTargetId>pamEventLogTarget</ReadTargetId> <WriteTargets> <TargetId>pamEventLogTarget</TargetId> </WriteTargets> <AccessControl> <!--<CertificateAccessControl CertificateThumbprint="001122...AA11" Rights="Read" />--> </AccessControl> </Application> |
Below, in the Targets section, make sure there is an uncommented line
<Target Id="Pam.EventLogTarget" Type="eventlog"/> |
Password - service account password
<Settings> <ConnectionString>Server=SQLServer;Database=ILS;Integrated Security=False;User ID=IPAMSQLService;Password=Password</ConnectionString> </Settings> |
If using a named instance of Microsoft SQL Server, the value of the Data Source parameter must be set in the format <server name>\<instance name>.
|
In the file C:\inetpub\wwwroot\ls\clientApps.config edit the Application section for work with the mssqlDb.config file:
<Application Id="pam" SchemaId="Pam.Schema"> <ReadTargetId>mssqlDb</ReadTargetId> <WriteTargets> <TargetId>mssqlDb</TargetId> </WriteTargets> <AccessControl> <!--<CertificateAccessControl CertificateThumbprint="001122...AA11" Rights="Read" />--> </AccessControl> </Application> |
Next in the same file in the Targets section add a new element:
<Targets> ... <Target Id="mssqlDb" Type="mssql"/> </Targets> |
In the file C:\inetpub\wwwroot\ls\clientApps.config edit the Application section for work with the postgresDb.config file:
<Application Id="pam" SchemaId="Pam.Schema"> <ReadTargetId>postgresDb</ReadTargetId> <WriteTargets> <TargetId>postgresDb</TargetId> </WriteTargets> <AccessControl> <!--<CertificateAccessControl CertificateThumbprint="001122...AA11" Rights="Read" />--> </AccessControl> </Application> |
Next, in the same file in the Targets section add a new element:
<Targets> ... <Target Id="postgresDb" Type="pgsql"/> </Targets> |
In the fileC:\inetpub\wwwroot\ls\clientApps.config edit the Application section this way:
<Application Id="pam" SchemaId="Pam.Schema"> <ReadTargetId>mssqlDb</ReadTargetId> <WriteTargets> <TargetId>mssqlDb</TargetId> <TargetId>Pam.EventLogTarget</TargetId> </WriteTargets> <AccessControl> <!--<CertificateAccessControl CertificateThumbprint="001122...AA11" Rights="Read" />--> </AccessControl> </Application> |
This example shows the configuration for reading events from the Microsoft SQL Server, writing events to the Microsoft SQL Server and Windows Event Log.
Next, in the same file in the Targets section, add the lines for mssqlDB and Pam.EventLogTarget:
<Targets> ... <Target Id="Pam.EventLogTarget" Type="eventlog"/> <Target Id="mssqlDb" Type="mssql"/> </Targets> |