Previous Topic: CA Business Service Insight Interface SectionNext Topic: SQL interface section


DataSourceInterface Section

The DataSourceInterface section consists of attributes specifying the connection and the connection type between the Adapter and data source (Measurement Tool, CRM, System log, etc.) and is divided into two main types: File Interface and SQL Interface.

File Interface

The File Adapter can be used to retrieve data from log files, scheduled reports or any other text based file, and the DataSourceInterface defines rules of parsing the information from the file data source and extracting it into fields.

The DataSourceInterface section also defines the way the Adapter handles the source file (whether it deletes the original file in case it was created only for the Adapter, or whether it leaves the data alone if it is needed for other uses, and so on).

XML Structure:

<DataSourceInterface WorkFileName="MyWorkingFile.txt" >
   <Files>
	<File
            IsActive="yes"	
		InputFormat="events"
		Path="D:\adapters\sample_data\"
		NamePattern="adapterXXX*.log"
		DeleteFileAfterProcessing="no"
		Delimiters=","
		IgnoreRedundantDelimiters ="no"
		TitleExists="no"
		SleepTime="10">
	</File>	
   </Files>
</DataSourceInterface>