Configure the reporting option
Enable
FactoryTalk® Event Archiver
by configuring the FactoryTalk Batch
Server to use FactoryTalk Event Archiver
as the reporting program. The reporting option
is required whether using reporting services or not.
TIP:
Review the following:
- If theEvent Journal Signaturesoption is enabled, specifyEnd of Batch Archiving. Enable event journal signatures by right-clicking the application or area name and selectingProperties. Then, in theFactoryTalk Batch Services Propertiesdialog, select theGeneraltab and select theEnable Event Journal Signaturescheckbox in theEvent Filessection. This function detects unauthorized changes to electornic batch records (.evt or .evtj files).
- Data added to the batch event journal files (.evt) by theADDEVENTexecute cannot be filtered out.
IMPORTANT:
The date format used for the event journal file’s LclTime is YYYY.MM.DD HH:MM:SS and is
not configurable.
To configure the reporting option:
- Open theFactoryTalk Administration ConsoleExplorer.
- To add a new server, right-click an application or area name and select . For an existing server, right-click the server and selectPropertiesto open theFactoryTalk Batch Services Propertiesdialog.
- Select theBatch Reportingtab.
- Select theArchive methoddropdown list and choose your archive method.Batch Reporting Archive MethodsMethodDescriptionEnd of Batch ArchivingThis option defers control of batch reporting toFactoryTalkArchiver and only performs batch reporting upon removal of the batch from theBatchList.For this method, in Windows Services, you must stop the Archiver Service and set theStartup TypetoManual.Incremental ArchivingThis option defers control of batch archiving toFactoryTalkArchiver and performs batch reporting at user-defined intervals during batch execution.For this method, in Windows Services, you must set theStartup Typefor the Archiver Service toAutomatic.No Archiving - Queue MaintainedThis option has no batch reporting or archiving application, but maintains a queue of unarchived event journal files.No Archiving - No QueueThis option has no batch reporting or archiving application, and does not maintain a queue of unarchived event journal files. This is the default option.TIP: Do not use this option if you have a custom archiver or are writing to the queue file.
- Configure theArchiver propertiesthat define howFactoryTalkArchiver writes batch record data to a SQL table in theBatchHistoryExdatabase.None of theArchiver propertiesare accessible for theNo Archiving - Queue MaintainedorNo Archiving - No Queuemethods.To change the configuration set during product installation, in theArchiver propertiessection fill in the following fields:Archiver propertiesPropertyDescriptionDatabase connection stringThis optional field defines the Data Source Name (DSN) and ODBC connection string thatFactoryTalkArchiver uses to locate theBatchHistoryExdatabase.Example:ODBC;DSN=FactoryTalk Batch Events;UID=installer;Trusted_Connection=Yes;APP=Factorytalk Batch Archiver;WSID=2019DCPMA0;DATABASE=BatchHistoryEx;TrustServerCertificate=Yes;This field has a maximum length of 512 characters. The default value isODBC;.TIP: You can also use theFactoryTalkArchiver Setup application to write the ODBC connection string to theDatabase connection stringfield. Go to . In theMachine Data Sourcetab, selectFactoryTalk Batch Eventsand clickOK.Table nameThis optional field defines the name of the SQL table in theBatchHistoryExdatabase, whereFactoryTalkArchiver writes batch record data.This field has a maximum length of 128 characters. The default value isBHBatchhis.Maximum records per transactionThis required field defines the maximum number of records thatFactoryTalkArchiver writes to theBatchHistoryExdatabase at each record transfer.This field has a minimum integer value of 1 and a maximum integer value of 10,000. The default value is75.Incremental periodThese fields are only enabled when you select theIncremental Archivingmethod. These fields define the interval at which batch reporting occurs during batch execution.The interval must be a minimum of 5 seconds or 1 minute (depending on the selectedPeriod unitsvalue).Period unitsMaximum log file size (MB)FactoryTalkArchiver logs all archiving activities to a log file (Batcharc.log). This required field defines the maximum size (in MB) of the log file. When the log file reaches maximum size, the log acts in a circular manner, with new records overwriting the oldest records.This field has a minimum integer value of 1 and a maximum integer value of 1,024. The default value is10.Delete the event journal file after it is fully archived.Select this option to allow deletion of the.evtor.evtjfiles afterFactoryTalkArchiver has stored the data in the ODBC database.TIP: Deleting files after archiving is not a reversible action and is not recommended.
- SelectApplyto save the data in theBatch Reportingtab.
- Select theArchived Eventstab.TIP:Material Server Filters display only ifMaterial Manageris installed.Filters display only ifeProcedureis installed.eProcedure
- Select the data to archive from the event journal files (.evt) for the batch, and then selectOKto save the data in each tab of theFactoryTalk Batch Services Propertiesdialog and close the dialog.
Provide Feedback