Knowledge Management

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

Path Finder


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

Path Finder

$@field_value$ worked perfectly, thanks!

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...