Getting Data In

Windows App -- preferred way to specify custom index

jamesvz84
Communicator

What is the recommended method of using the Windows App with a custom index (not "main"). Is it preferable to modify access controls to make the custom index a default index, or is it preferable to modify the Windows app configuration files so that the event types and dashboard searches reference my custom index? What are all the files that would need to be changed in the case I should change the Windows apps files?

Tags (3)
0 Karma

bandit
Motivator

I believe the Windows app and Tech Addon only use sourcetypes by default and do not specify an index. Personally, I wish it did specify an index of windows or such. I usually put a global stanza in the inputs.conf file in the [default] stanza for the TA app something like the following. This would default to putting all events in an index named windows. You shouldn't need to update the Windows App on the search head unless you want to try and tune the searches to use an index. I believe they just search by sourcetype by default.

#inputs.conf under Splunk_TA_windows\local
[default]
index=windows
0 Karma

lmyrefelt
Builder

inputs.conf > index=MyAwazomeWinIndex (forwarders) - Splunk_Ta_windows
eventtypes.conf > possible need / should add "search = index=MyAwazomeWinIndex" . Indexer(windows-app / SPLunk_TA_windows)
macro.conf > possible need to / should add the definition = index=MyAwazomeWinIndex" . Indexer (windows-app)

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