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!

More Control Over Your Monitoring Costs with Archived Metrics!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...