civiproxy-logs2json (1.0.3)
Installation
pip install --index-url civiproxy-logs2jsonAbout this package
Translate a CiviProxy logfile into JSON format.
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
Requirements
Requires Python: >=3.5
Details
Assets (1)
Versions (8)
View all
civiproxy_logs2json-1.0.3.tar.gz
6.7 KiB