An easy way to do a quest REST test by embedding a report, not dashboard, is to embed a scheduled report into your web page. This is how you do it:
create a search such as: index=* error | stats count by host
save as report
from the Reports menu, select your report and have it run on schedule
go back to the reports menu and select Edit by your report and select Embed
after that, you will get the html iframe code which includes a REST call.
that is the easy way to test REST calls.
download one or more of the SDKs, such as Javascript, which provides wrappers around REST calls. Play with the sample code and build from there.
Thanks,
Barak
... View more