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
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...