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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...