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 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...