Knowledge Management

What is the role of calculationID at datamodel json file?

brandy81
Path Finder

Hi All,

As the title says, what is the role of calculationID at datamodel json file?

I had to create many datamodels, so I copied a datamodel json file, then I noticed that there is calculationID for the calculated fields.
It looks unique key... is it okay that I may copy datamodel json file then remove calculationID? I tried and I checked that the removed calculationID was regenerated as I restart splunk.

Could you please let me know what the role of calculationID?

Labels (1)
Tags (2)

haraksin
Path Finder

This really needs to be answered - I get an "invalid JSON" note when running it without the calculationID, but when I have it, Splunk says "error in datamodeledit handler: invalid field name"

 

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!