splunk / eventgen

Splunk Event Generator: Eventgen
Apache License 2.0
376 stars 180 forks source link

Fix bug 286 random token replacement #287

Closed li-wu closed 5 years ago

li-wu commented 5 years ago

Replace with random.SystemRandom.

szsb26 commented 5 years ago

It looks like this is still not correct. Here is a sample output for the sample CPUTime.perfmon eventgen_data_output.txt

I was wondering if you can confirm whether the new code works for this dataset and conf file, because the output above is from these two files.

CPUTime.perfmon.zip eventgen.conf.zip

li-wu commented 5 years ago

Per feedback from @szhong26 , this pr now can get random value replacement for token.