# Striim 3.9.8 documentation

See Supported reader-parser combinations) for parsing options.

property

type

default value

notes

blocksize

java.lang.Integer

64

amount of data in KB for each read operation

compressiontype

java.lang.String

Set to gzip when wildcard specifies a file or files in gzip format. Otherwise, leave blank.

directory

java.lang.String

Specify the path to the directory containing the file(s). The path may be relative to the Striim installation directory (for example, Samples/PosApp/appdata) or from the root.

grouppattern

java.lang.String

a regular expression defining the rollover pattern for each set of files (see Using regular expressions (regex))

positionbyeof

java.lang.Boolean

True

If set to True, reading starts at the end of the file, so only new data is acquired. If set to False, reading starts at the the beginning of the file and then continues with new data.

rolloverstyle

java.lang.String

Default

Set to log4j if reading Log4J files created using RollingFileAppender.

skipbom

java.lang.Boolean

True

If set to True, when the wildcard value specifies multiple files, Striim will read the Byte Order Mark (BOM) in the first file and skip the BOM in all other files. If set to False, it will read the BOM in every file.

lava.lang.integer

20

For best performance, set to the maximum number of files that will be read at once.

wildcard

java.lang.String

name of the file, or a wildcard pattern to match multiple files (for example, *.xml)

yieldAfter

lava.lang.integer

20

the number of events after which a thread will be handed off to the next read process

The output type is WAevent except when using Avro Parser  or JSONParser.

This example would recognize log.proc1.0 and log.proc1.1 as parts of one log and log.proc2.0 and log.proc2.1 as parts of another, ensuring that all the events from each log will be read in the correct order.

CREATE SOURCE MFRtest USING MultiFileReader (
directory:'Samples',
WildCard:'log.proc*',
grouppattern:'(?:(?:(?:<[^>]+>)*[^<.]*)*.){2}'
)

Alternatively, you can use this statement to ensure the events from each log are read in the correct order:

CREATE SOURCE MFRtest USING MultiFileReader (
directory:'Samples',
WildCard:'log.proc*',
grouppattern:'log\\.proc[0-9]{1,3}'
)