Knowledge Management

workflow action to polpulate macro

coreyf311
Path Finder

how to create a workflow action to populate a macro? Use a workflow action to grab hostname/IP from event and pass that to a macro for later use in follow on searches.

0 Karma
1 Solution

woodcock
Esteemed Legend

You would use the REST API to update a macro; here is an excellent answer on how to do that (be sure to UpVote him):
https://answers.splunk.com/answers/223843/rest-endpoint-for-modifying-applocalmacrosconf.html

View solution in original post

woodcock
Esteemed Legend

You would use the REST API to update a macro; here is an excellent answer on how to do that (be sure to UpVote him):
https://answers.splunk.com/answers/223843/rest-endpoint-for-modifying-applocalmacrosconf.html

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

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 ...