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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...