Skip to main content

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)

Uploaded Source

Built Distribution

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

pratix_nelog-0.2.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for pratix_nelog-0.2.2.tar.gz
Algorithm Hash digest
SHA256 240c704ebaf90fc104b92aef07279949812b8d57fc7411644ab031f17c490e01
MD5 ce89fa62729ae5fa9fd5cae7a84fff12
BLAKE2b-256 86a10216eb4c9f240e43cc1e209e6afef781f096778a232a15c4a021bcef478b

See more details on using hashes here.

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

Hashes for pratix_nelog-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a4d9b56d27adaf9e296339c7bcb788a72d3fc7f0b6301cae7171b83a2033340a
MD5 1d88b95f1a886fca05b31bf0749cb731
BLAKE2b-256 0afe9fae609feb2e42f0788aff28d2a25a1fedc581081bd290cc531549b11f83

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