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!

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