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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

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

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...