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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...