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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...