Skip to main content

http-log-parser

Package supports "nginx-combined" format for now.

usage: http-log-parser [-h] [--no-query] [--skip-errors] [files [files ...]]

positional arguments:
  files

optional arguments:
  -h, --help     show this help message and exit
  --no-query
  --skip-errors

Example

$ http-log-parser /var/log/http/access.log | jq .  # jq used for pretty printing 
{
  "ip": "1.2.3.4",
  "ts": 1592427669,
  "method": "GET",
  "path": "/path/",
  "status": 204,
  "size": 0,
  "referer": "https://example.com/",
  "user_agent": "Chrome/1 Firefox/2 IE/3 Edge/4",
  "query": {
    "greetings": "hello world"
  }
}
...

Metadata

Release files for http-log-parser 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for http-log-parser 0.2.0
File Size Uploaded
http-log-parser-0.2.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for http-log-parser 0.2.0
File Interpreter ABI Platform
http_log_parser-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / http-log-parser-0.2.0.tar.gz

Download URL http-log-parser-0.2.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6c12bf646357c0b4ead56f148c3cc79b44ed71e51f3d083af1cafa39946f86da
BLAKE2b-256 checksum
How to use checksums
e9062af40be96a99e8505b32d6523864895742b41b3a27974dbb4a65626fc8a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

Release files / http_log_parser-0.2.0-py3-none-any.whl

Download URL http_log_parser-0.2.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3e581322558305ca14ea305ac1410fbbad7a2f608d24088d654332ad5ef391f
BLAKE2b-256 checksum
How to use checksums
0a2efe537665a65fed2e450836108e03a9ba2b244278bd6b772a173a6e852530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page