All Apps and Add-ons

Changing Unix index from "os"

dyeo
Engager

Are there any issues I should be aware of before change the index of our unix systems? I'd like to change it from the default "os" to "unix", but wanted to make sure I won't be causing any other issues with other apps.

0 Karma
1 Solution

chrisyounger
SplunkTrust
SplunkTrust

Hi @deyo

It is very common that customers change the index used for their OS monitoring. It shouldn't cause too many issues except with any existing dashboards, searches, reports, ITSI that you have. Use @woodcock 's bash command to find out where you might have searches that explicitly mention the old index name.

Cheers

View solution in original post

0 Karma

dyeo
Engager

got it. thank you both!

0 Karma

chrisyounger
SplunkTrust
SplunkTrust

Hi @deyo

It is very common that customers change the index used for their OS monitoring. It shouldn't cause too many issues except with any existing dashboards, searches, reports, ITSI that you have. Use @woodcock 's bash command to find out where you might have searches that explicitly mention the old index name.

Cheers

0 Karma

woodcock
Esteemed Legend

Run this search on your search head:

find /opt/splunk/etc/ -type f -exec egrep -l "index=os|index = os|index=\"os\"|index = \"os\"" {} \;
0 Karma

genesiusj
Builder

@woodcock

find /opt/splunk/etc/ -type f -exec egrep -l "index=os|index = os|index=\"os\"|index = \"os\"" {} \;

I tried the above with no results.

Just to make sure this was not a false negative, I ran it again replacing "os" with "main".

find /opt/splunk/etc/ -type f -exec egrep -l "index=main|index = main|index=\"main\"|index = \"main\"" {} \;

Same thing. No results.

I'm probably not understanding something. Your help is appreciated.

Thanks and God bless,
Genesius

0 Karma

dyeo
Engager

I guess what I'm asking is if changing the default index for unix boxes, "os", will cause me any headaches down the line. Other apps that would be searching for unix systems using the "os" index.

0 Karma

woodcock
Esteemed Legend

And my answer is: it is impossible to know and why bother guessing? Just go look!

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 ...