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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...