All Apps and Add-ons

Has anyone successful setup Splunk Synthetic App on a windows system? Examples provided seem to be unix only.

mookiie2005
Communicator

We are continually seeing an error - "ImportError: No Module named site". No tests seem to execute.
Here are the contents of our .bat file to launch our .py script:

@echo off
set PYTHONPATH="C:\Python 3.7"
set LD_LIBRARY_PATH="C:\Python 3.7\Lib"
set CLASSPATH="C:\Python 3.7\Scripts\Splunk Scripts\selenium-2.43.1\selenium-server-standalone-.jar"
set SELENIUM_SERVER_JAR="C:\Python 3.7\Scripts\Splunk Scripts\selenium-2.43.1\selenium-server-standalone-
.jar"

set SELENIUM_SERVER_JAR

python "D:\Program Files\Splunk\etc\apps\splunk-app-synthetic\bin\SFIALoginProd_p7.py"

I could not find a windows example of the bin file referenced in the instructions:
https://splunkbase.splunk.com/app/1880/#/details

Thanks!

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 ...