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!

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

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...