taraslayshchuk / es2csv

Export from an Elasticsearch into a CSV file
Apache License 2.0
510 stars 191 forks source link

add optional "kibana style" delimiter #62

Open ghukill opened 5 years ago

ghukill commented 5 years ago

Adds optional delimiter when writing as "Kibana style". Where this formerly would default to a comma ,, this would provide a runtime parameter -kd or --kibana-delimiter that would accept a character to use for multivalued cells.

Addresses: https://github.com/taraslayshchuk/es2csv/issues/61

Wholly understand if doesn't fit the library, was a pretty quick hack for our purposes, but thought a PR couldn't hurt. Thanks for a great and useful library.