- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

tiaatim
Path Finder
07-22-2020
10:58 AM
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!
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
07-22-2020
12:09 PM
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.
If this reply helps you, Karma would be appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
07-22-2020
12:09 PM
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.
If this reply helps you, Karma would be appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

tiaatim
Path Finder
07-22-2020
12:25 PM
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?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

richgalloway

SplunkTrust
07-22-2020
12:29 PM
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.
If this reply helps you, Karma would be appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

tiaatim
Path Finder
07-22-2020
12:42 PM
I thought about that too but then the datamodel wouldn't populate and the data wouldn't be CIM compliant.
