Using the Dashboard API from a Splunk visualization
How to use the Dashboard API from a Splunk visualization (e.g. to reload the datasource):
How to use the Dashboard API from a Splunk visualization (e.g. to reload the datasource):
How to programmatically connect a search datasource to a Splunk visualization (without using the dashboard):
If you want to run any React app (any React version, any toolkit) as a Splunk app, have a look at this gist:
I wrote a Splunk app using the new React UI framework for editing KV stores, see https://github.com/zepdev/kveditor - feedback welcome!
This snippet shows how to use the handleError and handleResponse functions from the splunk-utils package to send a POST request from a Splunk app: