Splunk Search

Splunk Search to find the list of CIM Mapped indexes

alexspunkshell
Contributor

Below are the CIM Macros where i am using and there are different indexes mapped in individual macros.

I want to get the list of all indexes mapped in all the CIM Macros.

Hence i did a scheduled search which runs and check all the macros. But it is utilizing lot of memory and even  searches are failing. Please help me with a better way to get the list of all indexes mapped in CIM Macros.

 

cim_Authentication_indexes
cim_Alerts_indexes
cim_Change_indexes
cim_Endpoint_indexes
cim_Intrusion_Detection_indexes
cim_Malware_indexes
cim_Network_Resolution_indexes	
cim_Network_Sessions_indexes
cim_Network_Traffic_indexes
cim_Vulnerabilities_indexes
cim_Web_indexes

 

 

Labels (3)
0 Karma
1 Solution

meetmshah
Contributor

Hello @alexspunkshell, below search should give you list of all CIM Indexes Macro Definition - 

| rest /servicesNS/-/-/admin/macros count=0 splunk_server=local
| search title=cim*indexes
| table title definition

 

Please accept the solution and hit Karma, if this helps! 

View solution in original post

meetmshah
Contributor

Hello @alexspunkshell, below search should give you list of all CIM Indexes Macro Definition - 

| rest /servicesNS/-/-/admin/macros count=0 splunk_server=local
| search title=cim*indexes
| table title definition

 

Please accept the solution and hit Karma, if this helps! 

Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...