A library to analyze network logs in multiple formats and consolidate them into JSON.
Project description
pratix-nelog
pratix-nelog is a Python library to analyze network logs in multiple formats (CSV, JSON, TXT) and consolidate them into a standardized JSON format.
Features
- Parse logs in various formats.
- Extract key information like timestamps, IP addresses, and actions.
- Consolidate logs into JSON.
Installation
pip install pratix-nelog
# Create a log parser object
log_parser = LogParser(log_file="path/to/logfile.log")
# Parse the log file
parsed_data = log_parser.parse()
# Print parsed data
print(parsed_data)
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
pratix_nelog-0.2.2.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pratix_nelog-0.2.2.tar.gz.
File metadata
- Download URL: pratix_nelog-0.2.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
240c704ebaf90fc104b92aef07279949812b8d57fc7411644ab031f17c490e01
|
|
| MD5 |
ce89fa62729ae5fa9fd5cae7a84fff12
|
|
| BLAKE2b-256 |
86a10216eb4c9f240e43cc1e209e6afef781f096778a232a15c4a021bcef478b
|
File details
Details for the file pratix_nelog-0.2.2-py3-none-any.whl.
File metadata
- Download URL: pratix_nelog-0.2.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4d9b56d27adaf9e296339c7bcb788a72d3fc7f0b6301cae7171b83a2033340a
|
|
| MD5 |
1d88b95f1a886fca05b31bf0749cb731
|
|
| BLAKE2b-256 |
0afe9fae609feb2e42f0788aff28d2a25a1fedc581081bd290cc531549b11f83
|