All Apps and Add-ons

Is it possible to change the Windows app to use a custom index?

cmeo
Contributor

Is it possible to change this app to use a custom index? We have a multi-platform shop and I want windows events out of 'main'.

I've tried to change it myself but some things don't work properly and the index seems to be hard-wired here and there.

0 Karma

piebob
Splunk Employee
Splunk Employee

bringing this answer from sideone over from the app download page:

"I have been able to configure windows app to work properly under an alternate index. I have modified the following files:

/opt/splunk/etc/apps/windows/default/inputs.conf:
Under each stanza, add the following line:
index=NEW_INDEX_NAME

/opt/splunk/etc/apps/windows/default/wmi.conf:
Change all index entries from index = default to index = NEW_INDEX_NAME

Better still:
- Create a "local" directory under /etc/apps/windows/
- Copy inputs.conf and wmi.conf to /etc/apps/windows/local/
- Delete everything under each stanza heading and replace with "index=NEW_INDEX_NAME"
That way your changes aren't overwritten when you next upgrade.

If you need assistance, i usually idle in #splunk on EFnet.

sideone

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...