Skip to main content

Convert EVTX to pandas DataFrame.

Project description

Introduction

Convert EVTX (Log file created by the Windows 7 Event Viewer) to pandas, but also CSV, JSON or Dask DataFrame.

Installation

pip install evtx2pandas

Usage

from evtx2pandas.json_to_csv import EvtxParser

# To convert evtx to pandas DataFrame
df = reader.evtx_to_df(evtx_path)

# To convert evtx to Dask DataFrame
dask_dd = reader.evtx_to_dask(json_path)

# To write evtx as json
reader.evtx_to_json(json_path, output_path=temp_file)

mydict = json.load(open(temp_file)) # To read the JSON output as python dict

# To write evtx as CSV
reader.evtx_to_csv(json_path, output_path=temp_file)

df = pd.read_csv(temp_file, sep=";") # To read the CSV output as padnas DataFrame

License

evtx2pandas is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See the file COPYING for the full text of GNU General Public License version 2.

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

evtx2pandas-0.0.3.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

evtx2pandas-0.0.3-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file evtx2pandas-0.0.3.tar.gz.

File metadata

  • Download URL: evtx2pandas-0.0.3.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for evtx2pandas-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e54149bfa4a0a044e797d867975bd62b301be3e46785e66fb4965cd7bce03cd9
MD5 b68c6db750a47e2fda04e35a2cf4e7af
BLAKE2b-256 2d8964fbe3f888cede960b9e62991ed73ec8735a63f9c2942851ff3e9f3c6afc

See more details on using hashes here.

Provenance

File details

Details for the file evtx2pandas-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: evtx2pandas-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for evtx2pandas-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 20f2c51cf1b6e555136fabab5f450a5c782b9b64d5d4bbfae740722d7cd89702
MD5 9512f7b3587fbb4b4b414fd28bad4d49
BLAKE2b-256 ea9352f351f07d5861a4e28d814c3824a0710110aae801c83a99f9102bbfd9d8

See more details on using hashes here.

Provenance

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