Skip to content

Latest commit

 

History

History
21 lines (10 loc) · 499 Bytes

README.md

File metadata and controls

21 lines (10 loc) · 499 Bytes

splunkDataGeneratorTCP

This is a simple python script that generates fake JSON data and send it to Splunk via TCP (Inspired by George Starcher's code)

Requirements

  • Python 3.x

Basic Usage

  1. Set the Splunk log collector (Universal Forwarder/Heavy Forwarder/Single Instance) IP and the listening port (in code line 24 and 25)

  2. Execute the script with the command:

    python3 splunkDataGeneratorTCP.py