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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...