elastic / elastic/logstash

problem parsing csv file with columns having number of separator values(ex: comma) using logstash

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

Description

I am facing problem parsing csv file using logstash:

logstash version:2.3.3

Actually my csv files has comma separated values, But for some field have string values separated by comma(",") inside particular column.

So while trying to parse the file using following configuration, the fields are parsing as mentioned in the csv plugin but later values are getting parsed as column 15=>.., column 16 =>..., etc because some fields have comma(",") as included values......:

configuration:----
csv
{
columns => ["time1","split","time2","id","name","level",,"load","on","rid","service","session","task"]
separator => ","
}

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.