Getting Data In

Index for specific hosts, except for splunkd sourcetype

jfaldmo
Explorer

I have setup a props.conf with:
[host::server*]
TRANSFORMS-movetonewindex = newindex

And a transforms.conf with:
[newindex]
REGEX = .*
DEST_KEY = _MetaData:Index
FORMAT = new

How do I not send the splunkd sourcetype to the "new" index and let it go to where it normally goes?

Tags (2)
0 Karma

Lamar
Splunk Employee
Splunk Employee

You could just do this:

props.conf

[splunkd]
TRANSFORMS-stayput = leaveitalone

transforms.conf

[leaveitalone]
REGEX = .*
DEST_KEY = _MetaData:Index
FORMAT = _internal

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