Skip to main content

tiny-elastic-cli

A simple cli for querying elasticsearch. Outputs json.

Config

Launching the cli once will propagate ~/.tiny-elastic-cli.conf

Installing

Global install

pip install tiny-elastic-cli

Local install

pip install --user tiny-elastic-cli

In the case of local install, the script will be available through ~/.local/bin/elastic or similar. Consider adding .local/bin to your path.

Usage

elastic --help

elastic 'foo:bar'

elastic 'foo:bar' --source 'otherfield' | jq .

License

(The MIT License)

Copyright (c) 2018 Einar Otto Stangvik <einaros@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for tiny-elastic-cli 0.1.5

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

Source distribution (sdist)

Source distribution for tiny-elastic-cli 0.1.5
File Size Uploaded
tiny-elastic-cli-0.1.5.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tiny-elastic-cli 0.1.5
File Interpreter ABI Platform
tiny_elastic_cli-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / tiny-elastic-cli-0.1.5.tar.gz

Download URL tiny-elastic-cli-0.1.5.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
095a2b5b6442ec3dc8f49aac73d80b6dad94c9738166f9e2acb15350d42c7161
BLAKE2b-256 checksum
How to use checksums
c2c39c63d19cbeda892276d4b39ae81704d8821b8fe36565c71112e145bf6fa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

Release files / tiny_elastic_cli-0.1.5-py3-none-any.whl

Download URL tiny_elastic_cli-0.1.5-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe5488157b9449e6a05677f9c1289564a2fae21ca149935ac1e845624fb07257
BLAKE2b-256 checksum
How to use checksums
5cbeb4ce067bf69f03e0a6d3db5eef4b035ddd7d3893fbb232c16d3d75c5e65b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

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