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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...