Skip to main content

A library for fast import of Windows Prefetch into Elasticsearch.

Project description

Prefetch2es

MIT License PyPI version Python Versions

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


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)

Uploaded Source

Built Distribution

prefetch2es-1.3.0-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page