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 -f /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 -f /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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19060913dc9c8686eb8b639a23f150abfee369b0b3e92749f70025d9d6ee4528 |
|
MD5 | da476a4f4a34f63816d8d2688dd62bac |
|
BLAKE2b-256 | f91f042d21918da67938e671b3a3913016ef69b5b16dd6bb933261a381a7e7df |