All Apps and Add-ons

Splunk + MS SCOM addon. How to filter out or limit requests to Scom

pedro_77
New Member

Hello,

As default configuration, addon for MS SCOM ingest all objects from defined group from SCOM database.
For group internal i have more than 30000 objects from SCOM. To ingest this data into SCOM it takes almost 10 minutes and 95% of objects i don't need it.
Is there any possibility to limit request which is sending to SCOM? For example to put some filter into the request like below?

get-scomclass | ?{$.name -like 'DataONTAP.Cluster.NodeVserver.Aggregate' -or $.name -like 'DataONTAP.Cluster.DataVserver.Volume'} | Get-SCOMClassInstance

example of config of input file
[powershell://_Splunk_TA_microsoft_scom_internal_used_Status]
index = demo
schedule = 0 */10 * ? * *
script = & "$SplunkHome\etc\apps\Splunk_TA_microsoft-scom\bin\scom_command_loader.ps1" -groups "internal" -server demo_server

thanks for any clue

0 Karma

rachaelcrook89
Explorer

You could try editing the Powershell script that the SCOM Add on runs or as an alternative you could pull SCOM data from it's MS SQL DB into Splunk via DB Connect. I'm personally using the SCOM Add-on, but I don't have the same restraints on limiting how much pulls into Splunk.

0 Karma
Get Updates on the Splunk Community!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...