Translate a CiviProxy logfile into JSON format.
Project description
CiviProxy_Logs2Json
Translate a CiviProxy logfile into JSON format.
Installation
pyton3 -m pip install civiproxy_logs2json
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ea5c74e429497952d271aa7b197dc19e344a2e3ef8929e2c480e9947935c390 |
|
MD5 | 850b1f3b7af09ff604704b97998242be |
|
BLAKE2b-256 | 0941822837cce452809d558ba14204036c3b38aa26167a58e53eea28d9e3c838 |