elastic / elastic/logstash

CSV header of " type" causes [type] == " type " instead of desired type

Open
#3,288 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

I solved the initial problem here, if a csv has a column of "type" during filtering can result in [type] being set to "type" instead of what is desired in the input stage, preventing comparisons to be done properly. Renaming the column by adding something before "type" seems to fix it.

Edit: This has been tested with csv's that pipe delimit, not sure if it's a problem with other delimiter methods.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.