All Apps and Add-ons

Speedtest App

syap
Splunk Employee
Splunk Employee

Hi,

Anyone is using this app and is able to troubleshoot the app for me?
https://splunkbase.splunk.com/app/3530/

I installed it but there was no result found, can't find any errors.

@markhill1 wondering if you could help on this? 
Thank you!

Labels (1)
0 Karma

Azeemering
Builder

Do you get any errors in _internal?  index=_internal sourcetype=splunkd speedtest? Because I do.

I just installed and tested the app for you. The script file  (speedtest-cli.py) is not good.
The _internal shows:

Splunk\etc\apps\speedtest\bin\speedtest-cli.py" --json" ValueError: invalid literal for int() with base 10: ''
and more errors with the python file.

So as a test I replaced it with a new version of speedtest (from https://github.com/sivel/speedtest-cli/blob/master/speedtest.py) (copied and replaced it into Splunk\etc\apps\speedtest\bin\speedtest-cli.py) and the app starts working.

 

Azeemering_0-1650898195811.png

Let me know if you need more help on this.

 

0 Karma

syap
Splunk Employee
Splunk Employee

Hi Azeemering,

Thanks for helping!
I didn't get any error from the below search.
index=_internal sourcetype=splunkd speedtest

Can I know how do I I get to <Splunk\etc\apps\speedtest\bin\speedtest-cli.py> to replace the new version of speedtest?

Is it under "edit dashboard" -> "source"?
Thanks a lot!

0 Karma

Azeemering
Builder

No it's in your filesystem under Splunk\etc\apps\speedtest\bin\

Just copy the text from https://github.com/sivel/speedtest-cli/blob/master/speedtest.py file and overwrite the Splunk\etc\apps\speedtest\bin\speedtest-cli.py file with it.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...

Build and Launch AI Agents from Your Splunk Workflows

  Register We’ve all been there: juggling alerts, runbooks, and endless manual searches. What if you could ...

Splunk Cloud Application Management in Terraform

Register   On Tuesday, August 4 at 11AM PDT / 2PM EDT, we’re diving into how you can bring Infrastructure as ...