Skip to main content

Usage

Type estool –help to see general help.

The tool supports two commands: export and types. The former to export data into text files and the later to find the exact spelling/version document type identifiers.

estool export

export allows to query for data from Elasticsearch and pipe it into a file.

Without the –fields argument you get the json messages, one per line. When you specify –fields the tool create tab separated lines, one line per message.

usage: estool export [-h] [-f FIELDS [FIELDS ...]] [-s START] [-e END]
                     [-t TOP]
                     index doc_type [query]

positional arguments:
  index                 index pattern (without the appended date)
  doc_type              full document type (including version)
  query                 query in lucence syntax https://goo.gl/n9zJSx

optional arguments:
  -h, --help            show this help message and exit
  -f FIELDS [FIELDS ...], --fields FIELDS [FIELDS ...]
                        list of fields
  -s START, --start START
                        start time for query
  -e END, --end END     end time for query
  -t TOP, --top TOP     only return the first TOP items

estool types

types allows to identivy the available document types. in the export command one need to specify the document type as the second parameter and this command helps to identifiy what is available.

usage: estool types [-h] index

positional arguments:
  index       index pattern (without the appended date)

optional arguments:
  -h, --help  show this help message and exit

Query syntax

[query string syntax on Elasticsearch.co](https://goo.gl/n9zJSx)

Release files for clc-export-tool 0.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clc-export-tool 0.0.14
File Size Uploaded
clc-export-tool-0.0.14.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for clc-export-tool 0.0.14
File Interpreter ABI Platform
clc_export_tool-0.0.14-py2-none-any.whl Python 2 none any Details

Total release size: 12.4 kB

Release files / clc-export-tool-0.0.14.tar.gz

Download URL clc-export-tool-0.0.14.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ead5e5cbf8a7eb0b4b542c1f2e18ebca6aecbc2a3f65d8270328a40347be6246
BLAKE2b-256 checksum
How to use checksums
f1288a1cee6d61fe90908180d4131b2bee35d605bc642a80e79b01071dd30930
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / clc_export_tool-0.0.14-py2-none-any.whl

Download URL clc_export_tool-0.0.14-py2-none-any.whl
Size 6.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
40a0e56fc8e1ef31fa8fbbf919250d892fc308086ddf77349dff2bc6a50c3112
BLAKE2b-256 checksum
How to use checksums
c5f21e9e98133e7194f109f3ec24a5e9ca7fccb68727e1beb375f85bff9cfb9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.14 This release

2 release files

0.0.13

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page