Generates Log Data For Splunk Demo
This is a python script, which generates a log file called dc_security.log, the script has two options, one to quickly generate data or one with a delays so you can leave it for a while to build the data and show this over time in Splunk.
The log data is based on the syslog format andI have put various messages in the log events.
Example Data: Dec 2 02:51:31 LINUX_SRV3 user joker has tried to login to this server and failed from ip_address 22.214.171.124
After you download the script run the script – sudo python ./dc_security_v1.0.py and select either option.
Copy the file to the splunk system and explore the data.