Manual Setup (Config File)

<< Click to Display Table of Contents >>

Navigation:  Sensor Settings > Capture Results Delivery >

Manual Setup (Config File)

The EtherSensor Transfer service configuration is stored in the transfer.xml file, located in the common configuration directory, Microolap EtherSensor [INSTALLDIR]\config.

A sample transfer.xml configuration file:

<?xml version="1.0" encoding="utf-8"?>
<TransferConfig version="4.1">
<SensorID>0AFE95E7-DC45-4993-B9FC-5E002D9B1BCA</SensorID>
<TransportThreads>4</TransportThreads>
 
<Profile name="smtp-main" enabled="true" default="false">
   <Option name="protocol" value="smtp" />
   <Option name="smtp-server" value="smtp.domain.com" />
   <Option name="smtp-port" value="465" />
   <Option name="enable-ssl" value="true" />
   <Option name="mail-from" value="sensor@internal.net" />
   <Option name="mail-to" value="archive@internal.net" />
   <Option name="tcp-timeout" value="10" />
   <Option name="save-headers" value="all" />
   <Option name="keep-connection" value="true" />
   <Option name="profile-fail-timeout" value="10" />
   <Option name="go-profile-weight" value="1" />
   <Option name="go-profile-reserve" value="false" />
</Profile>
 
<Profile name="imap-transport" enabled="true" default="false">
   <Option name="protocol" value="imap" />
   <Option name="imap-server" value="imap.domain.com" />
   <Option name="imap-port" value="10993" />
   <Option name="file-drop-path" value="INBOX" />
   <Option name="enable-ssl" value="true" />
   <Option name="username" value="administrator@domain.com" />
   <Option name="password" value="test123" />
   <Option name="tcp-timeout" value="10" />
   <Option name="save-headers" value="none" />
</Profile>
 
<Profile name="local-dir" enabled="true" default="true">
   <Option name="protocol" value="filedrop" />
   <Option name="file-drop-path" value="C:\FileDropPath\" />
   <Option name="enable-tmp" value="false" />
   <Option name="save-passport" value="false" />
   <Option name="save-eml" value="true" />
   <Option name="save-zip" value="false" />
   <Option name="zip-level" value="0" />
   <Option name="quota" value="10Gb" />
   <Option name="save-headers" value="xsensor, xkpps" />
   <Option name="profile-fail-timeout" value="10" />
   <Option name="go-profile-weight" value="1" />
   <Option name="go-profile-reserve" value="false" />
</Profile>
 
<Profile name="largefile-ftp" enabled="true" default="false">
   <Option name="protocol" value="ftp" />
   <Option name="file-drop-path" value="ftp://127.0.0.1/" />
   <Option name="enable-ssl" value="true" />
   <Option name="user-name" value="test" />
   <Option name="password" value="" />
   <Option name="enable-tmp" value="false" />
   <Option name="save-passport" value="true" />
   <Option name="save-eml" value="true" />
   <Option name="save-zip" value="false" />
   <Option name="zip-level" value="6" />
   <Option name="save-headers" value="none" />
   <Option name="profile-fail-timeout" value="10" />
   <Option name="go-profile-weight" value="1" />
   <Option name="go-profile-reserve" value="false" />
</Profile>
 
<Profile name="net_share_1" enabled="true" default="false">
   <Option name="protocol" value="smb" />
   <Option name="file-drop-path" value="\\ARCHSERVER1\Messages" />
   <Option name="user-name" value="test" />
   <Option name="password" value="" />
   <Option name="enable-tmp" value="false" />
   <Option name="save-passport" value="false" />
   <Option name="save-eml" value="true" />
   <Option name="save-zip" value="false" />
   <Option name="zip-level" value="6" />
   <Option name="save-headers" value="none" />
   <Option name="profile-fail-timeout" value="10" />
   <Option name="go-profile-weight" value="1" />
   <Option name="go-profile-reserve" value="true" />
</Profile>
 
<Profile name="sftp-transport_1" enabled="true" default="false">
   <Option name="protocol" value="sftp" />
   <Option name="sftp-server" value="10.101.100.125" />
   <Option name="sftp-port" value="22" />
   <Option name="file-drop-path" value="messages" />
   <Option name="user-name" value="test" />
   <Option name="password" value="" />
   <Option name="enable-tmp" value="false" />
   <Option name="save-format" value="eml" />
   <Option name="save-zip" value="false" />
   <Option name="zip-level" value="6" />
   <Option name="save-headers" value="none" />
   <Option name="profile-fail-timeout" value="10" />
   <Option name="go-profile-weight" value="1" />
   <Option name="go-profile-reserve" value="true" />
</Profile>
 
<Profile name="iwtm-transport_1" enabled="true" default="false">
   <Option name="protocol" value="iwthrift" />
   <Option name="iwthrift-server" value="10.101.100.196" />
   <Option name="iwthrift-port" value="9101" />
   <Option name="iwthrift-company" value="microolap" />
   <Option name="iwthrift-token" value="" />
   <Option name="capture-server-ip" value="10.100.101.68" />
   <Option name="capture-server-host" value="sensor.chg" />
   <Option name="keep-connection" value="true" />
   <Option name="save-headers" value="none" />
   <Option name="profile-fail-timeout" value="10" />
   <Option name="go-profile-weight" value="1" />
   <Option name="go-profile-reserve" value="true" />
</Profile>
 
<Profile name="group-transport" enabled="true" default="false">
   <Option name="protocol" value="gprofile" />
   <Option name="profilename" value="smtp-main" />
   <Option name="profilename" value="net_share_1" />
</Profile>
</TransferConfig>

TransferConfig tag

This is the root tag of the service configuration. The version attribute specifies the configuration version.

SensorID tag

Defines the sensor ID. It is in the traffic analysis to determine the physical source from which data have been received.

TransportThreads tag

Defines the number of threads sending messages simultaneously. The maximum number of sending threads cannot be greater than the current number of logical CPU cores*2 and cannot be less than 1.

Profile tag

The Profile tag provides the description for a data delivery profile. The name attribute specifies the name of the profile. The enabled attribute specifies the profile activity status. If it is set to false, then the profile is not used in data delivery. The default attribute is used to specify the default profile status. This attribute may be true only for one profile of the entire profile set.

Option tag

The Option tag is nested within the Profile tag. It specifies the description of a particular option of the data delivery profile. The name attribute specifies the name of the option. The value attribute defines the option value.