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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...