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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...