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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...