Skip to main content

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

log4j-detector-to-csv-0.1.7.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

log4j_detector_to_csv-0.1.7-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file log4j-detector-to-csv-0.1.7.tar.gz.

File metadata

  • Download URL: log4j-detector-to-csv-0.1.7.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.11.0-1022-azure

File hashes

Hashes for log4j-detector-to-csv-0.1.7.tar.gz
Algorithm Hash digest
SHA256 071ba1cc2eac401608cd3960e17a20ec4eafca07db2998cfb2619a7f12cb7d28
MD5 8aa1020f4a1a3c63bf7f7f1fa223f200
BLAKE2b-256 59e5386660028cd7a394ec58e86298c8e10b4e1957632a6f80e133ce357b8ccc

See more details on using hashes here.

File details

Details for the file log4j_detector_to_csv-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: log4j_detector_to_csv-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.11.0-1022-azure

File hashes

Hashes for log4j_detector_to_csv-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a5c10d523d28fc8bf71ad491f565e08d387c0aeb049623a137a7e2620c0a02ad
MD5 9c6e36416d0114906daccd0abd783096
BLAKE2b-256 acaa0289c4d4ff467b613230e6ab85a7517655eddb34565e67ab7ece8ef47e4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page