<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to put comment on the Splunk Dashboard Studio source? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/669867#M229683</link>
    <description>&lt;P&gt;Your solution worked. Thank you so much for your help&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2023 15:22:43 GMT</pubDate>
    <dc:creator>LearningGuy</dc:creator>
    <dc:date>2023-11-27T15:22:43Z</dc:date>
    <item>
      <title>How to put comment on the Splunk Dashboard Studio source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/660454#M228005</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;How to put comment on the Splunk Dashboard Studio source?&lt;BR /&gt;The classic Splunk Dashboard I can put comment&amp;nbsp; on the source using&amp;nbsp;&amp;lt;!--&amp;nbsp; comment&amp;nbsp; --&amp;gt;&lt;BR /&gt;In the new Splunk Dashboard Studio, I tried to put comment using&amp;nbsp;&lt;SPAN&gt;/* comment */, but I got an error "Comments are not permitted in JSON."&lt;BR /&gt;The comment only work on the data configuration query editor&lt;BR /&gt;&lt;BR /&gt;Thank you so much&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 20:34:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/660454#M228005</guid>
      <dc:creator>LearningGuy</dc:creator>
      <dc:date>2023-10-11T20:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to put comment on the Splunk Dashboard Studio source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/660480#M228017</link>
      <description>&lt;P&gt;JSON is data-oriented. &amp;nbsp;Everything is treated as data. &amp;nbsp;But just like comment is useless and harmless code in "normal" computing languages, you can think of comment as useless and harmless data in JSON. &amp;nbsp;The trick is to embed useless data in keys that the application does not reject yet does not utilize. &amp;nbsp;One trick I found from Stackoverflow (there are many like that) is to place an unusual character at the beginning of key but you can design your own pattern as long as DS doesn't find it objectionable and doesn't act on it. &amp;nbsp;This example uses "_comment":&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
	"visualizations": {
		"viz_OQMhku6K": {
			"type": "splunk.ellipse",
			"_comment": "about vizualization"
		}
	},
	"dataSources": {
		"_comment": [
			"datasource comment 1",
			"source comment 2"
		]
	},
	"defaults": {
		"dataSources": {
			"ds.search": {
				"options": {
					"queryParameters": {
						"latest": "$global_time.latest$",
						"earliest": "$global_time.earliest$"
					}
				}
			}
		}
	},
	"inputs": {
		"input_global_trp": {
			"type": "input.timerange",
			"options": {
				"token": "global_time",
				"defaultValue": "-24h@h,now"
			},
			"title": "Global Time Range"
		}
	},
	"layout": {
		"type": "absolute",
		"_comment": "something about layout",
		"options": {
			"display": "auto-scale",
			"backgroundImage": {
				"sizeType": "contain",
				"x": 0,
				"y": 0,
				"src": "splunk-enterprise-kvstore://649ab2cf9e8252528a4843f1"
			}
		},
		"structure": [
			{
				"item": "viz_OQMhku6K",
				"type": "block",
				"position": {
					"x": 130,
					"y": 60,
					"w": 130,
					"h": 130
				},
				"_commment": "structure comment here"
			}
		],
		"globalInputs": [
			"input_global_trp"
		]
	},
	"_comment": "general comments go here",
	"description": "",
	"title": "Test Dashboard Studio comment"
}&lt;/LI-CODE&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 06:00:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/660480#M228017</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-10-12T06:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to put comment on the Splunk Dashboard Studio source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/669337#M229575</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your suggestion worked for me, but is there a way to put comments with Carriage Return in multiple lines?&lt;BR /&gt;See below.. Thanks&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
	"visualizations": {
		"viz_OQMhku6K": {
			"type": "splunk.ellipse",
			"_comment": "
                            ==================================
                           This is created by Person1 on 1/1/2023 @companyb
                           On 2/1/2023 - added base search  
                           On 2/5/203  - added dropdown box
                         "
		}
	},&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 14:48:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/669337#M229575</guid>
      <dc:creator>LearningGuy</dc:creator>
      <dc:date>2023-11-21T14:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to put comment on the Splunk Dashboard Studio source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/669428#M229603</link>
      <description>&lt;P&gt;There is no good way to do this. &amp;nbsp;All you can do is to work around with array, like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
	"visualizations": {
		"viz_OQMhku6K": {
			"type": "splunk.ellipse",
			"_comment": [
                          "==================================",
                          "This is created by Person1 on 1/1/2023 @companyb",
                          "On 2/1/2023 - added base search",
                          "On 2/5/203  - added dropdown box"
			]
		}
	},&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 22 Nov 2023 08:20:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/669428#M229603</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-11-22T08:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to put comment on the Splunk Dashboard Studio source?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/669867#M229683</link>
      <description>&lt;P&gt;Your solution worked. Thank you so much for your help&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 15:22:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-put-comment-on-the-Splunk-Dashboard-Studio-source/m-p/669867#M229683</guid>
      <dc:creator>LearningGuy</dc:creator>
      <dc:date>2023-11-27T15:22:43Z</dc:date>
    </item>
  </channel>
</rss>

