Skip to content

Adding the option to read the whole file before parsing for inputs.directory_monitor #9936

@etycomputer

Description

@etycomputer

Feature Request

Adding the option to read the whole file before parsing for inputs.directory_monitor.

Proposal:

Adding an option to read the whole file before parsing.

  ## Read whole file before parsing.
  # read_whole_file = false

Current behaviour:

Currently, this input parses the file one line at a time.

Desired behaviour:

Use case:

This fill resolves the issues of parsing CSV files that have metadata before the header line or have multi-lined headers.
This would also add the support for parsing XML files (needs testing to see the current behaviour of this input plug-in).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/tailfeature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions