- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Will Splunk automatically create an index listed in inputs.conf?
If our app's inputs.conf uses an index other than "main" (e.g. a custom index for our app) does our app's setup UI (or the user via manual changes) need to create the index? Or will Splunk automatically create the index if it doesn't already exist?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

A new index will not be created automatically as far as I know.
The indexes.conf needs to be configured to indicate a new index.
Some of the important properties in the stanza include
[<NAME_OF_INDEX>]
homePath = $SPLUNK_DB/<NAME_OF_INDEX>/db
coldPath = $SPLUNK_DB/<NAME_OF_INDEX>/colddb
thawedPath = $SPLUNK_DB/<NAME_OF_INDEX>/thaweddb
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

No it will not be created. Events sent to an unconfigured index will usually be discarded.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

The error message will be shown in SplunkWeb when you restart Splunk telling you that the particular index is not configured or disabled.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wolverine, do you see that message when events are being indexed and discarded, or whenever you setup an input with an undefined index?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

At least in version 4.1.2 you'll now see a banner telling you that events are being sent to an unconfigured or disabled index.
