Splunk Enterprise

How to configure CIM datamodel index whitelisting through configuration file(s)?

fatsug
Contributor

Hello Community

I've been looking at the installation process of Splunk CIM and got stuck on a step.

After installation there seems to be a need to whitelist indexes for datamodels (or vice versa). I realize this can be done pretty easily through the GUI though normally the configuration is handled centrally.

Having come up empty looking through the content of the app/package, is it possible to specify index whitelists for particular datamodels in any conf file that I may have missed?

Best regards

Labels (1)
0 Karma
1 Solution

smurf
Communicator

Hi,

index whitelists are defined in macros for each data mode. Look at the macros that are in the CIM app.

smurf

View solution in original post

smurf
Communicator

Hi,

index whitelists are defined in macros for each data mode. Look at the macros that are in the CIM app.

smurf

fatsug
Contributor

Thank you very much @smurf. I was planning to start editing the GUI and tracking filechanges to pinpoint the right one though this does look like the right spot for whitelisting:

[cim_Endpoint_indexes]
definition = ()

While technically a second question (sorry) do you know the format for definition? Is it just CSV

[cim_Endpoint_indexes]
definition = (index1, index2)
0 Karma

smurf
Communicator

No probs.

Definition of a macro is the search itself. So it could look something like this:

[cim_Endpoint_indexes]
definition = (index=index1 OR index=index2)

You can find more details in the macros.conf spec macros.conf - Splunk Documentation

 

smurf

fatsug
Contributor

Fantastic!

I managed to find some defined macros and figured as much. Though no I know for sure and can push new config

Have a really nice weeked and best refards

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...