All Apps and Add-ons

Splunk Common Information Model (CIM): Applying multiple CIM models with overlapping fields

jinloes
Engager

How can I handle the case where I want to apply multiple CIM models to my sourcetype but 2 CIMs have the same field but have different meaning (as in they would be evaled from different fields)?

1 Solution

woodcock
Esteemed Legend

The basic principle is: do not modify the CIM so your options are limited; you can:

A: Use a similar field that is supported such as src_ip or src_name.
B: Duplicate the event and send the original with one field mapping to one data model and the duplicate with the other mapping to the other data model. Your options here are: B1: summary index or B2: CLONE_SOURCETYPE.

View solution in original post

woodcock
Esteemed Legend

The basic principle is: do not modify the CIM so your options are limited; you can:

A: Use a similar field that is supported such as src_ip or src_name.
B: Duplicate the event and send the original with one field mapping to one data model and the duplicate with the other mapping to the other data model. Your options here are: B1: summary index or B2: CLONE_SOURCETYPE.

woodcock
Esteemed Legend

I think you are toast but am curious about the particulars. What are the source/sourcetype of your event and what 2 datamodels and what field (I assume the field is action)?

0 Karma

jinloes
Engager

I'm trying to map one of our internal events to the Alert and Network Traffic CIM models because it contains information relevant to both models. I'm interested in the src field of both models but src means different things in both models so the source values needs to be different. Is there any way to handle that case?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...