Translate a CiviProxy logfile into JSON format.
Project description
CiviProxy_Logs2Json
Translate a CiviProxy logfile into JSON format.
Installation
python3 -m pip install civiproxy_logs2json --user
Example Usage
Pass logfile as positional argument:
cpl2j /var/www/proxy_logs/proxy.log
Pipe logfile into program:
cat proxy.log | cpl2j
Set JSON indentation to two spaces:
cat proxy.log | cpl2j -s 2
Tip
Use VisiData to explore the data in a very comfortable way: /var/www/proxy_logs/proxy.log
cpl2j /var/www/proxy_logs/proxy.log | vd -f json
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
Close
Hashes for civiproxy_logs2json-1.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91b7a3b484e7e17ce314dce94b3f7da6c266b3603a60fc0343dea1a2652a2287 |
|
MD5 | bfa9c482074e791168ff678d7a908164 |
|
BLAKE2b-256 | fada6ee3feed74898a2a3b28e68a693e08cc0111c3be1d143a0f63cbab9a78e6 |