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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...