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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...