Splunk Search

Add/change comments and descriptions into objects' fields in an existing data model

ntttmttoro
New Member

How do you add comments and descriptions into objects' fields in an existing data model WITHOUT manually edit the data model's JSON file?
Can you add/change the comments/descriptions in the objects' fields through the Splunk GUI interface? if you do, please tell me how you do it.
The splunk help page states that the only way to add/change the comments and descriptions into objects' fields in an existing data model is to modify the data model's json file.

Optional fields

objects.comment.description
Syntax: $.objects[*].comment.description
Description:: The description of the data model.

object.fields.comment.description
Syntax: $.object[].fields[].comment.description:
Description:: The description of the data model field.

object.fields.comment.expected_values
Syntax: $.object[].fields[].comment.expected_values:
Description:: It defines the expected value(s) of the data model field. Splunk add-on builder verifies the expect value(s) when user validates the add-on.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...