taraslayshchuk / es2csv

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

python error? #8

Closed freemti closed 8 years ago

freemti commented 8 years ago

[a408186@masnussyslog python]$ sudo es2csv -v -q 'host.raw: eosn*' -o eosn.txt
Traceback (most recent call last): File "/usr/bin/es2csv", line 7, in from es2csv import main File "/usr/lib/python2.6/site-packages/es2csv.py", line 197 out = {field: hit[field] for field in META_FIELDS} if self.opts.meta_fields else {} ^ SyntaxError: invalid syntax

taraslayshchuk commented 8 years ago

Currently this tool supports only python 2.7.*.