Getting Data In

How do I discard all hosts that begin with ISE in transforms.conf?

a212830
Champion

Hi,

I want to look at the host field and discard all hosts that begin with ISE. How would I do that? My understanding is that only certain regexes are available for host in transforms?

0 Karma

woodcock
Esteemed Legend

Like this:

In props.conf:

[yourSourceTypeHere]
TRANSFORMS-remove_ISE_hosts = remove_ISE_hosts

In transforms.conf:

[remove_ISE_hosts]
SOURCE_KEY = MetaData:Host
REGEX = "^ISE"
DEST_KEY = queue
FORMAT = nullQueue

You can read more about this at Filter Event Data and Send to Queues:

http://docs.splunk.com/Documentation/Splunk/6.2.4/Forwarding/Routeandfilterdatad#Filter_event_data_a...

0 Karma

a212830
Champion

Does this read just the host field, or the entire raw event?

0 Karma

woodcock
Esteemed Legend

It reads just the host field and if it starts with "ISE", the entire event will be skipped.

0 Karma
Get Updates on the Splunk Community!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...