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 APM & RUM | Upcoming Planned Maintenance

There will be planned maintenance of the streaming infrastructure for Splunk APM and Splunk RUM in the coming ...

Part 2: Diving Deeper With AIOps

Getting the Most Out of Event Correlation and Alert Storm Detection in Splunk IT Service Intelligence   Watch ...

User Groups | Upcoming Events!

If by chance you weren't already aware, the Splunk Community is host to numerous User Groups, organized ...