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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...