Skip to content

Commit ff42341

Browse files
author
Frederick Ross
committed
Add docs on how to use explorer.html from a different machine from where explorer.py runs.
1 parent 9aebc1d commit ff42341

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

examples/explorer/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ When the API call is made, it will issue a call to the Splunk server (through a
2323
locally hosted redirect server to work around cross-domain issues), and display
2424
the response it received.
2525

26+
If you are using a web browser on a different machine than you're running
27+
explorer.py on, you need to open explorer.html by hand, and set the values at
28+
the top of the page appropriately. Scheme, host, and port are the values
29+
required for explorer.py to refer to splunkd. So if explorer.py is running on
30+
the same machine as splunkd, then host can be set to localhost even though from
31+
the browser you are opening explorer.html in, it may not be localhost. The values
32+
of redirect host and redirect port are the host and port your browser needs to refer
33+
to to reach explorer.py. The default port for explorer.py is 8080. You can leave
34+
owner and app empty, but set username and password to your login information for
35+
splunkd.
36+
2637
## Future Work
2738

2839
- Switch to JSONP once the server supports it

0 commit comments

Comments
 (0)