Combines all host specific json outputs from log4j-detector into one single csv file.
Project description
log4j-detector-to-csv
This project contains a script to convert and combine all host specific outputs of the log4j-detector logs in json format to one single CSV file.
Getting started
With Python and pip installed
Install log4j-detector-to-csv with pip:
pip install log4j-detector-to-csv
Run log4j-detector-to-csv:
log4j-detector-to-csv -h
Output:
usage: log4j-detector-to-csv [-h] -i INPUT -o OUTPUT
Convert log4j-detector json file into one csv
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Input directory
-o OUTPUT, --output OUTPUT
Output directory
From Sourcecode
Prerequisites:
- python
- poetry
Clone Repository:
git clone https://github.com/richardbischof/log4j-detector-to-csv.git
Change in directory:
cd log4j-detector-to-csv/log4j_detector_to_csv
Run Script:
python main.py -i $INPUT_DIRECTORY -o $OUTPUT_FILE
Example:
python main.py -i logs -o report.csv
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for log4j-detector-to-csv-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 656a553ca9dd9286ddc692ac9c1dbbf0b6afa57d563d4e5bcbcaab457a16f1ae |
|
MD5 | 03865a2c41b0d6ac1090c63c54d3c2f5 |
|
BLAKE2b-256 | c895b0805b482622d51a44a690bd05bdb1d65c302075bb2f95ef241bbff22084 |
Close
Hashes for log4j_detector_to_csv-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88aec71cfae6640d1073aabe93f889d7fa9bcd424c7638b75556a6c7dc30323f |
|
MD5 | 48ca2e8db2bf7153288155fee6997799 |
|
BLAKE2b-256 | c87dace1f105d18f4fcdf3237f5d8dbaacacf8c9c5225861a3a6cf907e6317ae |