Getting Data In

how to force all data to go to a different index?

matt
Splunk Employee
Splunk Employee

How do I force all data to go to a different index without inserting index=foo for all input stanzas?

Tags (2)
0 Karma
1 Solution

Alan_Bradley
Path Finder

change the default index= under [default]

View solution in original post

Alan_Bradley
Path Finder

change the default index= under [default]

haraksin
Communicator

This doesn't work if you have a different index defined under the [monitor] stanzas... so it won't be forced really

0 Karma
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...