Daikon
Description
Daikon is a CLI for ElasticSearch to make some of the basic admin tasks associated with ElasticSearch a little easier than using curl… you know for us lazy folks.
It’s written in Python, and requires python 2.7.x, anyjson, and Python-Requests.
Why ‘daikon’. Well, ‘daikon’ is a radish that is used in the making of kimchi. For those who know ES, you’ll know what that means ;) and of course HUGE shout out to @kimchy
Installing
This should work :
$ pip install daikon
And even this should too, but you shouldn’t use it… :
$ easy_install daikon
Configuration
Configuration is defined in /etc/daikon/daikon.conf, or ~/.daikon.conf, and has the format :
[default] host = localhost port = 9200 replicas = 3 shards = 2
Current Functionality
Commands :
* Working with Indexes
* Create Indexes
examples:
daikon index create <indexname>
daikon index create --replicas <replicas> --shards <shards> <indexname>
daikon index create --cluster <clustername> --host <host> --port <port> <indexname>
* Delete Indexes
examples:
daikon index delete <indexname>
daikon index delete --cluster <clustername> --host <host> --port <port> <indexname>
* List Indexes
examples:
daikon index list <indexname>
daikon index list --extended <indexname>
daikon index list --cluster <clustername> --host <host> --port <port> <indexname>
* Open Indexes
examples:
daikon index open <indexname>
daikon index open --cluster <clustername> --host <host> --port <port> <indexname>
* Close Indexes
examples:
daikon index close <indexname>
daikon index close --cluster <clustername> --host <host> --port <port> <indexname>
* Status Indexes
examples:
daikon index status <indexname>
daikon index status --extended <indexname>
daikon index status --cluster <clustername> --host <host> --port <port> <indexname>
* Working with Clusters
* Status View
examples:
daikon cluster status
daikon cluster status --extended
daikon cluster status --cluster <clustername> --host <host> --port <port>
* Shutdown Clusters
examples:
daikon cluster shutdown
daikon cluster shutdown --cluster <clustername> --host <host> --port <port>
* Working with Nodes
* List
examples:
daikon node list
daikon node list --extended
daikon node list --cluster <clustername> --host <host> --port <port>
* Status
examples:
daikon node status <nodename>
daikon node status --extended <nodename>
daikon node status --cluster <clustername> --host <host> --port <port> <nodename>
* Shutdown
examples:
daikon node shutdown <nodename>
daikon node shutdown --delay <delayseconds> <nodename>
daikon node shutdown --cluster <clustername> --port <port> <nodename>
Planned Functionality
Future Planned Functionality :
* Working with Rivers (and provide plugin supports for rivers) * Working with indexes to dump, and import * Working with cluster maintennace * Working with searches, exporting results * Enhance Logging (Syslog, Debug Logging, Log File)
History
1.51 (2012-09-23)
All modules now use print_output, and some additional output logging has been added
Now requires ElasticSearch 0.19.x+, and removes some depreciated contents
1.10 (2011-11-09)
Updated all modules, and main to use new exceptions.py
Moved modules around to make them more pythonish
Updated LICENSE and added header to all .py files
1.00 (2011-11-06)
Initial Release
Metadata
Release files for daikon 1.51
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| daikon-1.51.tar.gz | 12.9 kB | Without provenance | Details for daikon-1.51.tar.gz |
Release files / daikon-1.51.tar.gz
| Download URL | daikon-1.51.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af5b4ed1c468bd251c45e4e8bf808a258fd069c9b88aa9c8fea1b17160265c34
|
|
BLAKE2b-256 checksum How to use checksums |
8ad45d3f3103a239db811f28e378f9fb677247192f6b0238b06c1efb15c874aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for daikon 1.51
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.