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
Metadata
Release files for log4j-detector-to-csv 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| log4j-detector-to-csv-0.1.7.tar.gz | 14.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| log4j_detector_to_csv-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.1 kB
Release files / log4j-detector-to-csv-0.1.7.tar.gz
| Download URL | log4j-detector-to-csv-0.1.7.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
071ba1cc2eac401608cd3960e17a20ec4eafca07db2998cfb2619a7f12cb7d28
|
|
BLAKE2b-256 checksum How to use checksums |
59e5386660028cd7a394ec58e86298c8e10b4e1957632a6f80e133ce357b8ccc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Linux/5.11.0-1022-azure
|
Release files / log4j_detector_to_csv-0.1.7-py3-none-any.whl
| Download URL | log4j_detector_to_csv-0.1.7-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5c10d523d28fc8bf71ad491f565e08d387c0aeb049623a137a7e2620c0a02ad
|
|
BLAKE2b-256 checksum How to use checksums |
acaa0289c4d4ff467b613230e6ab85a7517655eddb34565e67ab7ece8ef47e4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.1 Linux/5.11.0-1022-azure
|