Skip to content

skip_header does not skip header #81

@carlosvega

Description

@carlosvega
  • Version: 7.2 +

Is not possible to ignore the header and provide a different set of columns because the @columns is compared against the read line. It should be possible to ignore the csv header line and provide a custom array of column names. This way the logstash filter can be column name agnostic.

if (@skip_header && (!@columns.empty?) && (@columns == values))
          event.cancel
          return
        end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions