Deployment Architecture

Event sent to null queues

ankithreddy777
Contributor

I have merged several lines in to one event using Should_linemerge=true.

Now event looks like
abc
bcd
cde
efg

I want to sent the line cde to null queue and remaining to index queue. If I match regex to "cde" and send to null queue(using transforms.conf) , whether that particular line consisting "cde" will be sent to nullqueue or the entire event associated with it will be moved to null queue?

Tags (2)
0 Karma

woodcock
Esteemed Legend

You can only queue-route entire events. You can, however, SEDCMD to strip the data, like this:

SEDCMD-removeCDE = s/[\r\n]+cde([\r\n]+)/\1/

http://docs.splunk.com/Documentation/Splunk/latest/admin/Propsconf

0 Karma

mpreddy
Communicator
0 Karma
Get Updates on the Splunk Community!

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

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...