taraslayshchuk / es2csv

Export from an Elasticsearch into a CSV file
Apache License 2.0
511 stars 190 forks source link

Possible to provide alternate delimiter for kibana style? #61

Open ghukill opened 5 years ago

ghukill commented 5 years ago

Currently, when the Kibana style is flagged with -k, the delimiter used is a comma , e.g.:

History,Fiction

However, this presents a problem when other columns may have commas as well, resulting in a situation where splitting on comma is not a viable option as you may split kibana-style cells, or strings that contain commas.

Curious, might it be possible to provide a delimiter character -- like pipe | -- that could be used instead?