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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 071ba1cc2eac401608cd3960e17a20ec4eafca07db2998cfb2619a7f12cb7d28 |
|
MD5 | 8aa1020f4a1a3c63bf7f7f1fa223f200 |
|
BLAKE2b-256 | 59e5386660028cd7a394ec58e86298c8e10b4e1957632a6f80e133ce357b8ccc |
Close
Hashes for log4j_detector_to_csv-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c10d523d28fc8bf71ad491f565e08d387c0aeb049623a137a7e2620c0a02ad |
|
MD5 | 9c6e36416d0114906daccd0abd783096 |
|
BLAKE2b-256 | acaa0289c4d4ff467b613230e6ab85a7517655eddb34565e67ab7ece8ef47e4f |