Dashboards & Visualizations

JavaScript with REST API

jadengoho
Builder

I have a dashboard where i have a two TEXTBOX[html]

they are connected to my macro by this search command in table
" | rest /servicesNS/-/-/admin/macros count=0 "

and drilldown to the TEXTBOX[html]
textbox1 : NAME (is the name of the macro)
textbox2 : VALUE (is the definition in macro)

alt text

Now what i want is to update the macro by a button click

if possible a JavaScript command since they are HTML > JavaScript

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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