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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...