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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...