All Apps and Add-ons

WSOC App with more than one index

hartfoml
Motivator

I want to use the Windows Security Operations Center (WSOC) app but My win. event logs or fragmented in many indexes. I use different indexes to keep track of different business segments and each segment keeps there windows events in there own index. I would like to pint the WSOC at all the indexes that have Win event logs. Can I do this with the configuration GUI and how?

0 Karma
1 Solution

bojanz
Communicator

The WSOC apps (v1.1) uses macros so you can change this easily.

Go to Manager -> Advanced search -> Search macros

You should see two macros used by the application:

windowsindex and windowssourcetype

Feel free to modify them so they include all your indexes. You can simply enter multiple indexes with the OR keyword in the windowsindex macro, for example:

index=myindex1 OR index=myindex2

This will make Splunk search through both indexes and the whole application should work automatically since all searches use this macro.

View solution in original post

bojanz
Communicator

The WSOC apps (v1.1) uses macros so you can change this easily.

Go to Manager -> Advanced search -> Search macros

You should see two macros used by the application:

windowsindex and windowssourcetype

Feel free to modify them so they include all your indexes. You can simply enter multiple indexes with the OR keyword in the windowsindex macro, for example:

index=myindex1 OR index=myindex2

This will make Splunk search through both indexes and the whole application should work automatically since all searches use this macro.

sdse78
New Member

What if one wants to search for more than one windowssourcetype?

I tried to do the same as you showed for the indexes and nothing seems to be happening from the change.

I'd like to add Application and System events as well.

Any ideas?

0 Karma

hartfoml
Motivator

you are a lifesaver thanks so much this is what I was looking for.

MarioM
Motivator

did you try by adding your indexes :

Manager » Access controls » Roles » admin » Indexes searched by default

or using modifying the app WSOC searches and adding a macro

0 Karma

hartfoml
Motivator

yes too many indexes to put in roles and I don't what to have to do this for all groups that need data. Can you point me or get me started on a "MACRO" that would work with this APP?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...