{"repo":"pteich/elastic-query-export","free":true,"listed":false,"github":"https://github.com/pteich/elastic-query-export","clone":"git clone https://github.com/pteich/elastic-query-export.git","description":"🚚 Export Data from ElasticSearch to CSV/JSON using a Lucene Query (e.g. from Kibana) or a raw JSON Query string","language":"Go","stars":96,"topics":["elasticsearch","kibana","export","csv","golang"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"elastic-query-export Export Data from ElasticSearch to CSV by Raw or Lucene Query (e.g. from Kibana). Works with ElasticSearch 6+ (OpenSearch works too) and makes use of ElasticSearch's Scroll API and Go's concurrency features to work as fast as possible. Install Download a pre-compiled binary for your operating system from here: https://github.com/pteich/elastic-query-export/releases You need just this binary. It works on OSX (Darwin), Linux and Windows. There are also prebuilt RPM, DEB and APK packages for your Linux distribution. Brew Use Brew to install: Arch AUR Docker A Docker image is available here: https://github.com/pteich/elastic-query-export/pkgs/container/elastic-query-export It can be used just like the locally installed binary: General usage CLI Options Flag Default ------------------ ----------------------- --------------------------------------------------------------------------------------------------------- -h --help show help -v --version show version --es-version 7 ElasticSearch version (7, 8, or 9). Omit for OpenSearch (it uses the v7 compatible client). -c --connect http://localhost:9200 URI to ElasticSearch instance -i --index logs- name of index to use, use globbing characters to match multiple -q --query Lucene query to match documents (same as in Kibana) --fields define a comma separated list of fields to export -o --outfile output.csv name of output file, you can use - as filename to output data to stdout and pipe it to other commands -f --outform","default_branch":null,"files":null,"tree":[],"storefront":"/r/pteich","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pteich/elastic-query-export/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}