Skip to main content

Analyze log files on remote hosts locally

Project description

Remote Log Analysis

Overview

A log file is a sequence of bytes where some immutability guarantee exists for already written data. New data can be appended to the end of a log file but bytes which have already been written should not change while accessed via this framework. Such logs can be large and efficiently processing such logs in chunks can save on data transfer costs and time. Note that any static file can be considered a log file.

The above definition is very general and opens the door to just about any file-like object which can be accessed over the network. By this definition a network stream itself can be considered a log file and a goal of this framework is to provide the groundwork to make such extensions possible. In general, The more structured the data, the more useful this framework is for skipping efficiently within the log file but this framework can be useful for accessing just about any stream-like object over a network.

Examples will be developed over time to showcase the possibilities.

Tests

To run the tests do the following from the project root directory:

poetry install
pytest -s tests/

To run the tests with coverage try this from the project root directory:

pytest -s --cov=remote_log_analysis --cov-report=html tests/

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

remote_log_analysis-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

remote_log_analysis-0.1.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file remote_log_analysis-0.1.0.tar.gz.

File metadata

  • Download URL: remote_log_analysis-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.3.0-7648-generic

File hashes

Hashes for remote_log_analysis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9e668974bce6b94d17553990874faf95436382ebe0d7b9308f1eeb186449af46
MD5 336e60566551fbe0e71e976103264a64
BLAKE2b-256 6c7591b1aa6220c78f37bdcb59867e3db210535c90dedbcf05a970886eca8d7f

See more details on using hashes here.

File details

Details for the file remote_log_analysis-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: remote_log_analysis-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.3.0-7648-generic

File hashes

Hashes for remote_log_analysis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce5156637938bde678f2f25cf3c1dfe9e569f3e5ca3dcd6e3df8e6d34a9c31f0
MD5 2d123089e93253d735debed81f838d8e
BLAKE2b-256 e4cbb0a463da51319ff59f88990e7bdcab0a6f9e81b4285fe6f999a54701e578

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