All Apps and Add-ons

SCCM 2012 Reporting and Splunk

jess_harris
Explorer

Anyone using Splunk for SCCM reporting, if so, any advice or must-have applications? Does DB Connect support T-SQL? WQL to SQL is a Microsoft translation through SCCM and we'd like to use Splunk instead of the report builder. Currently using the DB Connect Splunk app and connected to a CAS.

Tony_chan
New Member

How to you integrate SCCM log to Splunk, do you have any sample on how to modify the config file?

0 Karma

nick405060
Motivator

I was able to pull raw SCCM logs via a UF installed on the SCCM server. But, I don't actually use them for anything. After a lot of difficulty I was also able to query our SCCM SQL server via DBConnect.

0 Karma

dstaulcu
Builder

I used DBConnect to interface with the ConfigMgr data store.

More specifically, I use DBQuery to maintain a lookup file having most commonly referenced configuration manager client data such as name, domain, model, osname, osversion, adsitename, ipaddress, serial, etc.

More More specifically, what I do is schedule a report with | dbquery | outputlookup cmClientAttributes.csv daily to maintain these dimensions. then create an autolookup

search | lookup cmClientAttributes host as name0 OUTPUT

works for me

have fun

0 Karma

nick405060
Motivator

I know it's been five years and this is a long shot but if you remember... how did you set up DBconnect to interface with configmgr?

0 Karma

dstaulcu
Builder

The following article contains a list of views of interest in ConfigMgr:

http://gallery.technet.microsoft.com/SCCM-Configmgr-2012-R2-SQL-5fefdd3b

As for a sample query:

| dbquery [connectionName] "SELECT * FROM v_R_System"

0 Karma

jess_harris
Explorer

Example sql statement? I'm connected with DB Connect but having trouble getting results.

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 ...