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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...