The Log Scanner configuration file is an XML file that contains parameters described in the table below. If this file is not present in the directory or some parameters are not present in the file, the default values are used for the missing parameters.
Configuration file parameters
Parameter |
Description |
|
Affects the Log Scanner output to the console. If the value contained in the |
|
Maximum number of threads that Log Scanner can use when processing input data. By default, up to 8 threads are used. |
|
Directory that will contain the output file. It can be either an absolute or a relative path. A relative path is calculated relative to the directory that contains the Log Scanner binary file. If the |
|
The utility sends requests to Feed Service in the format specified in the
|
|
Specifies the IP address and port (or the Windows named pipe, or UNIX socket) to which Log Scanner will send the received data.
|
|
Number of seconds that Log Scanner waits for the socket or pipe specified in the If the value of this parameter is The maximum value of this parameter that you can set is By default, the timeout is 15 seconds. |
Configuration file example
<Settings> <Verbose>0</Verbose> <ThreadsCount>8</ThreadsCount> <OutputDir>../log_scanner_reports</OutputDir> <Pattern>ip=%IP% md5=%MD5% sha1=%SHA1% sha256=%SHA256% url=%URL%</Pattern> <Connection>127.0.0.1:9999</Connection> <SocketTimeout>15</SocketTimeout> </Settings> |