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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...