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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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