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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...