All Apps and Add-ons

Splunk App for Windows Infrastructure: How to populate panels in the app from Windows data in custom indexes?

yannK
Splunk Employee
Splunk Employee

I have my windows data in custom indexes (windowze)

And the panels of the Windows infrastructure app 1.0.4 are not able to find them, and populate.
What is the best method to make them visible to my windows admin users ?

1 Solution

yannK
Splunk Employee
Splunk Employee

I found the role "windows-admin" defined in the app.

  1. Updated the list of indexes searched by default for the role "windows-admin" added "windowze"
  2. made my user inherit from the role "windows-admin"

Then I had an extra step in the windows app, update the macros

  1. go to settings > advanced search > macros in the windows app
  2. added the condition "OR index=windowze" to the necessary macros
  3. msad-index
  4. perfmon-index
  5. wineventlog-index

View solution in original post

jbernt_splunk
Splunk Employee
Splunk Employee

Adding the user to "winfra-admin" would be a better choice, since that is the role designed for the Windows Infrastructure app. 😉
Then alter the winfra-admin role to have the windowze index searched by default. That is why we designed our app this way, easier to use alternatively named indexes. Winfra-admin inherits from windows-admin, but as long as one of the two roles is used to search the other index by default, you should be good.

yannK
Splunk Employee
Splunk Employee

I found the role "windows-admin" defined in the app.

  1. Updated the list of indexes searched by default for the role "windows-admin" added "windowze"
  2. made my user inherit from the role "windows-admin"

Then I had an extra step in the windows app, update the macros

  1. go to settings > advanced search > macros in the windows app
  2. added the condition "OR index=windowze" to the necessary macros
  3. msad-index
  4. perfmon-index
  5. wineventlog-index
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...