Knowledge Management

What are the fields counts in the CIM Validator app?

danielbb
Motivator

Not sure what Total fields, Issue fields, CIM Compliance (all DM fields) and CIM Compliance (recommended fields) mean in the app. Following the associated searches is a bit rough.

alt text

Tags (3)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Total fields is the number of fields in the selected data model
Issue fields is the number of fields with a problem (not found,
CIM Compliance (all DM fields) is the percentage of data model fields found in your data
CIM Compliance (recommended fields) is the percentage of recommended data model fields (not all fields are necessary) found in your data.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Total fields is the number of fields in the selected data model
Issue fields is the number of fields with a problem (not found,
CIM Compliance (all DM fields) is the percentage of data model fields found in your data
CIM Compliance (recommended fields) is the percentage of recommended data model fields (not all fields are necessary) found in your data.

---
If this reply helps you, Karma would be appreciated.

danielbb
Motivator

So, for the Total fields it's -

| datamodel Web 
| rex max_match=999 "fieldName\":\"(?<field>[^\"]+)" 
| stats values(field) as field 
| mvexpand field 
| where NOT match(field, "_time|host|sourcetype|source|[A-Z]+|_bunit|_category|_priority|_requires_av|_should_update") OR match(field, "object_category") 
| join type=outer field 
    [ search index=bluecoat 
    | head 10000 
    | fieldsummary maxvals=15 
    | eventstats max(count) AS total 
    | eval percent_coverage=round(count/total*100, 2) 
    | table field, percent_coverage, distinct_count, total, values] 

Meaning, all is based on the 25 fields from the datamodel...

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...