Splunk Search

Subsequent transform of an extracted field?

gsawyer1
Engager

I use a couple of search-time REPORTs to extract fields in my props and transforms. I then want to employ another transform that sends certain events to nullqueue, based on values from the extracted fields.

  1. Is this possible?
  2. How do I refer to the extracted field in the REGEX in my transform?

(?m)^field = (value1|value2|value3)

OR

(?ms)field = (value1|value2|value3)

OR something else?

Tags (1)
0 Karma
1 Solution

sowings
Splunk Employee
Splunk Employee

Null queuing happens at parse time via TRANSFORMS. REPORTs occur too late for null queueing.

Your TRANSFORMS rule will have to use a regex to find the values you've specified (e.g. value1, value2, value3), but without the benefit of "field=" (unless that also appears in the data).

View solution in original post

0 Karma

sowings
Splunk Employee
Splunk Employee

Null queuing happens at parse time via TRANSFORMS. REPORTs occur too late for null queueing.

Your TRANSFORMS rule will have to use a regex to find the values you've specified (e.g. value1, value2, value3), but without the benefit of "field=" (unless that also appears in the data).

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 ...