All Apps and Add-ons

Unable to setup SplunkIt

ClementG
Path Finder

Hi,

We tried to use this apps by following the instructions but we are having the following error with the shell script:
splunk@splunk$ ./bin/gen50gb.sh

File "data/datagen.py", line 76
with open(OUT_FILE, 'a', 0) as outFile:
^
SyntaxError: invalid syntax

Regards

Tags (1)
1 Solution

MarioM
Motivator

I believe the problem is the python you use (version < 2.5 have different syntax)...

try with a python v2.6 or point the shell script to a python v2.6 install path

View solution in original post

MarioM
Motivator

I believe the problem is the python you use (version < 2.5 have different syntax)...

try with a python v2.6 or point the shell script to a python v2.6 install path

ClementG
Path Finder

Thanks a lot Mario.

It works 😉

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...