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.
JSON creation is based on: https://github.com/thibaultbl/evtx
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
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
evtx2pandas-0.0.4.tar.gz
(10.5 kB
view details)
Built Distribution
File details
Details for the file evtx2pandas-0.0.4.tar.gz
.
File metadata
- Download URL: evtx2pandas-0.0.4.tar.gz
- Upload date:
- Size: 10.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d1bd9e762a8e1af38b94afb597757d31060e899e12ef5cdd2a497ae6b797523 |
|
MD5 | 1a10a0b4986a124bdba67b1c41cadfe5 |
|
BLAKE2b-256 | 4d1b476614d9cc2db835806845abf9449de1a0fe17806fdee7d4cb913484051f |
Provenance
File details
Details for the file evtx2pandas-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: evtx2pandas-0.0.4-py3-none-any.whl
- Upload date:
- Size: 10.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c95e750afa23b2bff54e086808da3f38ac4d6535b63c9e334b5781609591888e |
|
MD5 | ac1ce46274a140a977f78fe33653bcaf |
|
BLAKE2b-256 | f5a8591011ec6fdd7d60e66108369693f45d513622916b337190cfb25cc13a21 |