elastic-query-export icon indicating copy to clipboard operation
elastic-query-export copied to clipboard

🚚 Export Data from ElasticSearch to CSV/JSON using a Lucene Query (e.g. from Kibana) or a raw JSON Query string

Results 8 elastic-query-export issues
Sort by recently updated
recently updated
newest added

Send output to stdout if output file is "-" (`-outfile '-'`). Useful to avoid intermediary temporary files if post-processing is required. e.g.: ```shell es-query-export -start="2019-04-04T12:15:00" -q "RequestUri:*export*" -outfile - |...

This PR flattens the search result so the nested objects are accessible via "obj.nestedField" on the fields list. The original object is retained in the original key for backwards compatibility...

Data's being returned from query, and is nested in ES.... ex: foo.bar. This data does not get exported into CSV when these nested fields are specified.

Hi thanks for you amazing job I have a use case that need to export data with a given raw query like this: { "query": { "query_string": { "query": "source...

I've tried the following windows command : elastic-query-export.exe -c "http://localhost:9200" -i "myindex-*" --start="2022-09-27T00:00:00" --fields="foo,bar" -r '{"bool":{"filter":{"bool":{"must":[{"range":{"date":{"from":"2022-09-27T00:00:00.000","include_lower":true,"include_upper":false,"time_zone":"+02:00","to":"2022-09-28T12:20:00.000"}}}]}}}}' -f "csv" -o "test_export_es.csv" and got this error in return Error counting ElasticSearch documents...

Cannot query elasticsearch instance where certificate is self-signed ad-or does not match hostname. Specifying -verifySSL false or -verifySSL 0 or just without parameter, seems to have no effect, still get...

Hi! First of, great little tool! If im not missing a setting, would it be possible to do or add sorting of the result? https://www.elastic.co/guide/en/elasticsearch/reference/current/sort-search-results.html

Could be a neat addition to use [gorealeaser](https://goreleaser.com/) to distribute to multiple places to allow folks to install the tooling easier. e.g. as a brew tap, aur, or rpm/deb package.