A library for fast import of Windows Prefetch into Elasticsearch.
Project description
Prefetch2es
Import Windows Prefetch(.pf) to Elasticsearch
prefetch2es uses Rust library pyprefetch-rs.
Note: Nov 11, 2019
Moved main development location to gitlab
Usage
$ prefetch2es /path/to/your/file.pf
or
from prefetch2es.prefetch2es import prefetch2es
if __name__ == '__main__':
filepath = '/path/to/your/file.pf'
prefetch2es(filepath)
Options
--host:
ElasticSearch host address
(default: localhost)
--port:
ElasticSearch port number
(default: 9200)
--index:
Index name
(default: prefetch2es)
--type:
Document-type name
(default: prefetch2es)
Examples
$ prefetch2es /path/to/your/file.pf --host=localhost --port=9200 --index=foo --type=bar
if __name__ == '__main__':
prefetch2es('/path/to/your/file.pf', host=localhost, port=9200, index='foo', type='bar')
Installation
via pip
$ pip install prefetch2es
The source code for prefetch2es is hosted at GitHub, and you may download, fork, and review it from this repository(https://github.com/sumeshi/prefetch2es).
Please report issues and feature requests. :sushi: :sushi: :sushi:
License
prefetch2es is released under the MIT License.
Powered by pyprefetch-rs.
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
prefetch2es-1.3.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for prefetch2es-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67026ea5ef526c8347d4bbeaa571067bf118bfa4878a4e57e3f44d71bd16d2d5 |
|
MD5 | c47a8ebd7a219a8ef18880351ac3fd96 |
|
BLAKE2b-256 | 2c51c4e6641e67ca45e0ef2e977565d395112b942735976d3e20fad9551ab1aa |