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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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