<?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: Default Token - Dashboard Studio in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Default-Token-Dashboard-Studio/m-p/707252#M57884</link>
    <description>&lt;P&gt;I don't think I understand what you're trying to do.&amp;nbsp;&lt;SPAN&gt;$Beta status:result._statusNumber$ is a token set by your search, "Beta status", and therefore has no default value. The screenshot you've shown is for setting tokens when users click on a visualisation. The two things are not related, really, other than how they are used in source code.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What issue are you trying to solve, exactly? If the token isn't working, have you made sure you've checked the "Access search results or metadata" box in the data source config?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2024 06:27:20 GMT</pubDate>
    <dc:creator>shonias</dc:creator>
    <dc:date>2024-12-19T06:27:20Z</dc:date>
    <item>
      <title>Default Token - Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Default-Token-Dashboard-Studio/m-p/706619#M57863</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;&lt;P&gt;Per this documentation -&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/DashStudio/tokens" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/DashStudio/tokens&lt;/A&gt;&amp;nbsp;- setting default value is done by&amp;nbsp;&lt;SPAN&gt;navigating to the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Interactions&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;section of the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Configuration&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;panel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is simple with the given example with the token set as $method$.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;"tokens": {
      "default": {
        "method": {
          "value": "GET"
        }
      }
    }&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Would anyone be able to advise as to how can I set default tokens of a dashboard (created using Dashboard Studio) if the value is of the panel is pointing to a data source whose query has a dependency to another data source's results?&lt;BR /&gt;&lt;BR /&gt;Panel A:&lt;BR /&gt;Data Source:&lt;BR /&gt;'Alpha status'&lt;/P&gt;&lt;P&gt;'Alpha status' query:&lt;BR /&gt;| eval status=$Beta status:result._statusNumber$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arielc_0-1733987163625.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33818iF68F234EFD3A35EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arielc_0-1733987163625.png" alt="arielc_0-1733987163625.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g. I need to set a default token value for&amp;nbsp;$Beta status:result._statusNumber$&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance for the response.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 07:35:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Default-Token-Dashboard-Studio/m-p/706619#M57863</guid>
      <dc:creator>arielc</dc:creator>
      <dc:date>2024-12-12T07:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Default Token - Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Default-Token-Dashboard-Studio/m-p/706654#M57871</link>
      <description>&lt;P&gt;I mean the default value option is literally right at the bottom of the image you posted.&amp;nbsp; So that is how you set the default value of that token before any event can manipulate the expected outcome value.&lt;/P&gt;&lt;P&gt;I'm hoping you are actually experiencing something more complicated and that maybe I don't fully understand your use case yet.&amp;nbsp; But really any other outcome means the value is conditionally set due to some other event occurring so I don't know how to advise.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 14:28:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Default-Token-Dashboard-Studio/m-p/706654#M57871</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-12-12T14:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Default Token - Dashboard Studio</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Default-Token-Dashboard-Studio/m-p/707252#M57884</link>
      <description>&lt;P&gt;I don't think I understand what you're trying to do.&amp;nbsp;&lt;SPAN&gt;$Beta status:result._statusNumber$ is a token set by your search, "Beta status", and therefore has no default value. The screenshot you've shown is for setting tokens when users click on a visualisation. The two things are not related, really, other than how they are used in source code.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What issue are you trying to solve, exactly? If the token isn't working, have you made sure you've checked the "Access search results or metadata" box in the data source config?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 06:27:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Default-Token-Dashboard-Studio/m-p/707252#M57884</guid>
      <dc:creator>shonias</dc:creator>
      <dc:date>2024-12-19T06:27:20Z</dc:date>
    </item>
  </channel>
</rss>

