File

Configure File Log Source with BindPlane

212

Supported Versions

  • The File Source allows you to read logs from any generic file
  • Supports the following encodings:
    • nop
    • utf-8
    • utf-16le
    • utf-16be
    • ascii
    • big5

Configuration

OptionDescription
File PathUse this field to specify an array of file log path glob patterns.
Exclude File PathUse this field to specify an array of file log path glob patterns 'to be excluded'.
Poll IntervalUse this field to set the duration between filesystem polls. The default is 200ms.
Enable MultilineToggle check box to enable/disable parsing of Multiline log files.
Multiline Start PatternChoose a Regex pattern to match with the start of a line.
EncodingChoose the encoding of the log file.
Start AtChoose whether to start reading from the beginning or end of a file with "end" being the default.
TypeUse this field to add the specified 'Type' as a label to each log message.

Log Types

Types
file

Advanced

For more information on the advanced configuration capabilities, see our detailed plugin guide here.