dask-elk
Use dask to fetch data from Elasticsearch in parallel by sending the request to each shard separatelly.
Table of Contents
Introduction
The library tries to imitate the functionality of the ES Hadoop plugin for spark. dask-elk performs a parallel read across all the target indices shards.
In order to achieve that it uses Elasticsearch scrolling mechanism.
Usage
To use the library and read from an index:
from dask_elk.client import DaskElasticClient
# First create a client
client = DaskElasticClient() # localhost Elasticsearch
index = 'my-index'
df = client.read(index=index, doc_type='_doc')
You can even pass a query to push down to elasticsearch, so that any filtering can be done on the Elasticsearch side. Because dask-elk uses scroll mechanism aggregations are not supported
from dask_elk.client import DaskElasticClient
# First create a client
client = DaskElasticClient() # localhost Elasticsearch
query = {
"query" : {
"term" : { "user" : "kimchy" }
}
}
index = 'my-index'
df = client.read(query=query, index=index, doc_type='_doc')
Read documentation here
Metadata
Release files for dask-elk 0.4.0
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 |
|---|---|---|---|---|
| dask_elk-0.4.0.tar.gz | 8.6 kB | Without provenance | Details for dask_elk-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dask_elk-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for dask_elk-0.4.0-py3-none-any.whl |
Total release size: 32.0 kB
Release files / dask_elk-0.4.0.tar.gz
| Download URL | dask_elk-0.4.0.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8d858a1fc8071c329c6911567d030c47d208374a5662e5ccdc2830ec3f2a211
|
|
BLAKE2b-256 checksum How to use checksums |
13a676c69efc35506b266f179d3e9d8c5f45ee295c1e5b45438f008a237b0fe6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.7
|
Release files / dask_elk-0.4.0-py3-none-any.whl
| Download URL | dask_elk-0.4.0-py3-none-any.whl |
|---|---|
| Size | 23.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
264b89348800ce3816e0529675968746e3a1e16db8d92f7795cb785108a8fc5e
|
|
BLAKE2b-256 checksum How to use checksums |
f7e7cc4933f99b62d60d9ce7c4bc2e9b8345057ada4c6f6a339e79d5a953877d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.7
|
Security for dask-elk 0.4.0
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.