Splunk Dev

splunk-sdk-python analytics sample not working

rroberts
Splunk Employee
Splunk Employee

Have splunk-sdk-python installed. Tests work i.e. /tests/runtest.py. Some examples work i.e. abc/a.py b.py... Am able to run /splunk-sdk/examples/analytics/server.py and Bottle server is running on http://localhost:8080. Have verified .splunkrc file. I have also verified I have events on Splunk:

2012-08-08T08:39:29.112076 application="analytics" event="list_applications in the sample_analytics index.

However, http://localhost:8080/applications show a blank webpage. Did I miss a step?

1 Solution

rroberts
Splunk Employee
Splunk Employee

Was working on Beta Splunk 5.0 (build 125564)

Switched to Splunk 4.3.3 and it worked like a charm.

View solution in original post

rroberts
Splunk Employee
Splunk Employee

Was working on Beta Splunk 5.0 (build 125564)

Switched to Splunk 4.3.3 and it worked like a charm.

psanford_splunk
Splunk Employee
Splunk Employee

Do you see anything in the console from which you started server.py?

0 Karma

rroberts
Splunk Employee
Splunk Employee

rickrob@ubuntu64:~/splunk-sdk-python/examples/analytics$ python server.py

Bottle server starting up (using WSGIRefServer())...

Listening on http://192.168.2.16:8080/

Use Ctrl-C to quit.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...