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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04fedd6b91d00cc041bce01d0b22cb1db0dd90bbe5caae025d8dcb3cbfc08226 |
|
MD5 | 4bc65a7b7493926c0133adc3a0b97af4 |
|
BLAKE2b-256 | 8874a0a19b63492ba1890421f891c6fcb4c0a5cd2b133ca1f34f70e6b4901110 |