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.2.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: evtx2pandas-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d38172450667f001267842def93d7141c631c577993b6b222d794bbedc871101
MD5 792b57a2eaf2ea6b148aa074a67c7ac0
BLAKE2b-256 91e31fc0bb87a3a8d0e3ec0c5af88f344d2b9703da5b0f69faed15ffa81cf865

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evtx2pandas-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d5f4a03181bbf8b8c84e89efdeda63b5bd36bb112413742a996dc40a0674be1
MD5 abf9147000cd1af7b4b5d80aeb86b910
BLAKE2b-256 10578968b825bac4a15d9851baf13f24c6f0d94ef68eaf8695a05a778894ff70

See more details on using hashes here.

Supported by

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