Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip_header does not skip header #81

Open
carlosvega opened this issue Apr 30, 2020 · 0 comments
Open

skip_header does not skip header #81

carlosvega opened this issue Apr 30, 2020 · 0 comments

Comments

@carlosvega
Copy link

  • 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 && ([email protected]?) && (@columns == values))
          event.cancel
          return
        end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant