taraslayshchuk / es2csv

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

change delimiter #56

Closed zoltantalas closed 6 years ago

zoltantalas commented 6 years ago

Could you please suggest what i am doing wrong? i cannot change the delimiter of the output file using es2csv cli tool.

es2csv -q '*' -i test_index -o test.csv -f id name -d \t

tried also

es2csv -q '' -i test_index -o test.csv -f id name -d '\t' es2csv -q '' -i test_index -o test.csv -f id name -d "\t"

and some other separators as well it gives back comma all the time.

update: i have installed the latest version of the tool, but still the same (i have seen that there was a bug fix for that already)

zoltantalas commented 6 years ago

i have inserted the code change manually you have mentioned in the other issue and now it works. But if i download the latest version from git that still not includes that bugfix.