Splunk Enterprise Security

Add result of eval to datamodel field

tiaatim
Path Finder

I have a search that evals out a calculation from other fields to a "Duration" field for netflow data.  Is there a way to populate duration in the network traffic datamodel with the results of the calculation?  It currently has firewall data in it but I'd like to add netflow as well.

Thanks!

Labels (1)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust
Searches can't modify data models. You can, however, add a calculated field to the DM.
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust
Searches can't modify data models. You can, however, add a calculated field to the DM.
---
If this reply helps you, Karma would be appreciated.

tiaatim
Path Finder

I was thinking about that, but the field already exists in the DM though so I don't want to modify how it is populated for our firewall logs.  If I turned that field into a calculated field then the existing duration value in the FW data would be lost and wouldn't populate the field with fw logs right?

0 Karma

richgalloway
SplunkTrust
SplunkTrust
That's true if you use the same name for two fields. Workaround is to use a different name for the netflow field.
---
If this reply helps you, Karma would be appreciated.
0 Karma

tiaatim
Path Finder

I thought about that too but then the datamodel wouldn't populate and the data wouldn't be CIM compliant.  

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