Comments (3)
This question was already asked. So let me explain why it is sorted.
When you are using -f you will ask elasticsearch for specific fields, but they can be missing in ES.
Thats way es2csv don't care about order of asked fields (ES already returns fields in wrong order). So best solution for me was just sort them in alphabetic. Any way you can move columns in your favorite editor (MS Office, LibreOffice).
from es2csv.
Hello, @karthikdivi, please check 2.4.2 release, this should fix columns order.
from es2csv.
Awesome @taraslayshchuk
Thanks again for the great tool.
from es2csv.
Related Issues (20)
- Error during pip install HOT 1
- es2ecv can not support encoding
- Export data from aggregation
- Possible to provide alternate delimiter for kibana style?
- change list to string in output HOT 1
- Argument for handling null values
- es2csv expectd one argument
- Unable to get the whole result
- Extending --auth to work with ES AWS IAM
- Passing a file name to -q is not called out in docs
- Getting "TypeError: unsupported operand type(s) for -: 'dict' and 'int'" HOT 1
- Getting unrecognized parameter: [_source_include] with Elastic 7.3 and using -f to specify fields HOT 1
- Index with a lot docs
- How to format a string
- Unable to escape newline characters while exporting to CSV HOT 1
- openSSL auth
- Non-ASCII characters not exported correctly HOT 3
- Chinese characters in the list are missing data
- It kept saying the error "No matching distribution found for es2csv" HOT 2
- Updated Fork
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from es2csv.