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
Communicator

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
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...