File Processor Agent File – Header

<< Click to Display Table of Contents >>

Live > Agents > File Agents > File Processor > Settings > File >

File Processor Agent File – Header

 

Setting

Type

Description

headerLinesRegex

Regex

Header line(s) look like this.

 

If multiline, split lines using '\n' (see In-Situ-4 example).

 

Empty assumes that there is only one header line, and that it is the first non-empty line in the file.

headerLinesReplacementRegex

Regex

Replace text that matches the headerLinesReplacementRegex pattern with headerLinesReplacement (anywhere in the header) (see RST-DT2055 example).

 

You can use named capturing groups and substitutions.

e.g., (?'label'\"formatter\"): ([\"])(?'tag'.*)([\"]) and ${label}: ${tag}

headerLinesReplacement

String

multiHeaderFiles

Boolean

Can one file have multiple headers (and datum)?

 

If this setting is true, dataEndLineRegex cannot be empty; it's used to stop loading data and start looking for a new header (see AreaRAE example).