All Apps and Add-ons

Change Index

skottieb
Explorer

Pretty straight forward questions, is it possible to change the Index of IMAP Mailbox?

Tags (1)
0 Karma

gokadroid
Motivator

If by changing the index you want to change it to go to default main index you can definitely follow these steps mentioned in readme

By default, the IMAP app will create a new Splunk index named "mail". This is controlled by:  default/indexes.conf. If you want the IMAP output to go to the default Splunk index:

1. Remove "index = mail" reference in default/inputs.conf
2. Delete the default/index.conf file.
3. Comment out the "definition = index=mail" in default/macros.conf file.
4. Restart the Splunk server.

For any other index except default main index, it might be worth trying below without any guarantee that it will work or not and instructions below are pure assumptions and not recommendations (so try at your own risk 🙂 😞

Try replacing references to mail index with yourNewIndex in the above two config files (and any other conf files where you see a reference of mail index).
Thereafter you can ensure that corresponding directory of index is present under $SPLUNK_HOME\var\lib\splunk\yourNewIndex and restart Splunk server to see if it works out or not.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...