Knowledge Management

Is the Workflow Action based on the field it's used on, rather than hard-coding a specific field?

jadamsplunk
Path Finder

Hello,

I am trying to make a simple search workflow action that can be used on any field with a URL or IP address. Currently the only method I know to pass a value is to do $fieldname$ in the workflow action definition. However, there are tens of fields that can contain an IP address or URL (src, src_ip, s_ip, dest, dest_ip, d_ip, etc). What I'd like to do is to simply allow any field to use the workflow action and pass the value of the field it is used on to the search rather than attempting to hard-code all these fields into it or creating a new workflow action for each field?

1 Solution

jadamsplunk
Path Finder

$@field_value$ worked perfectly, thanks!

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...