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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...