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

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...