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!

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...