A very tiny elasticsearch query cli
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tiny_elastic_cli-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe5488157b9449e6a05677f9c1289564a2fae21ca149935ac1e845624fb07257 |
|
MD5 | 64461d3c97550d2f8c6c1d40b0c19572 |
|
BLAKE2b-256 | 5cbeb4ce067bf69f03e0a6d3db5eef4b035ddd7d3893fbb232c16d3d75c5e65b |