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
Path Finder

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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...