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

Added ability to define skip values in csv parser #8627

Merged
merged 5 commits into from
Jan 11, 2021

Conversation

helenosheaa
Copy link
Member

Closes #6436

Adds the ability to define an array of string skip values to the csv parser, such as an empty string, where the value matches the provided skip value it will skip the field entirely. Addresses the issue of ignoring missing values

Copy link
Contributor

@ivorybilled ivorybilled left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

plugins/parsers/csv/parser.go Outdated Show resolved Hide resolved
plugins/parsers/csv/parser.go Outdated Show resolved Hide resolved
@helenosheaa helenosheaa merged commit 3b87438 into master Jan 11, 2021
@helenosheaa helenosheaa deleted the add-skip-values-csv-parser branch January 11, 2021 18:53
ssoroka pushed a commit that referenced this pull request Jan 27, 2021
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
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

Successfully merging this pull request may close these issues.

Add the ability to replace or ignore values in the CSV parser
3 participants