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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...