<?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 Unset token on dashboard page refresh in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unset-token-on-dashboard-page-refresh/m-p/507956#M33775</link>
    <description>&lt;P&gt;As a part of my dashboard, I get the results from a base search and join them in a different search in the panel.&lt;/P&gt;&lt;P&gt;In order to do this, I have created a token for the job id and I load the job in the panel when I am doing a join.&lt;/P&gt;&lt;P&gt;Base search&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;search id="base_search"&amp;gt;
  &amp;lt;query&amp;gt;
  &amp;lt;done&amp;gt;
      &amp;lt;condition&amp;gt;
        &amp;lt;set token="base_search"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
  &amp;lt;/done&amp;gt;
&amp;lt;/search&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my panel, I use this base search as a part of the query join&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;query&amp;gt;
search sourcetype="ABC"
|join type=left
[| loadjob $base_search$
]
|stats ...
&amp;lt;/query&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the dashboard is refreshed, the token still refers to the old job sid. I would like to know if there is a way to unset the token so that the base query will run again and the token is populated with the current base search result.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2020 03:05:34 GMT</pubDate>
    <dc:creator>kunwarjit</dc:creator>
    <dc:date>2020-07-08T03:05:34Z</dc:date>
    <item>
      <title>Unset token on dashboard page refresh</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unset-token-on-dashboard-page-refresh/m-p/507956#M33775</link>
      <description>&lt;P&gt;As a part of my dashboard, I get the results from a base search and join them in a different search in the panel.&lt;/P&gt;&lt;P&gt;In order to do this, I have created a token for the job id and I load the job in the panel when I am doing a join.&lt;/P&gt;&lt;P&gt;Base search&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;search id="base_search"&amp;gt;
  &amp;lt;query&amp;gt;
  &amp;lt;done&amp;gt;
      &amp;lt;condition&amp;gt;
        &amp;lt;set token="base_search"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
  &amp;lt;/done&amp;gt;
&amp;lt;/search&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my panel, I use this base search as a part of the query join&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;query&amp;gt;
search sourcetype="ABC"
|join type=left
[| loadjob $base_search$
]
|stats ...
&amp;lt;/query&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the dashboard is refreshed, the token still refers to the old job sid. I would like to know if there is a way to unset the token so that the base query will run again and the token is populated with the current base search result.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 03:05:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unset-token-on-dashboard-page-refresh/m-p/507956#M33775</guid>
      <dc:creator>kunwarjit</dc:creator>
      <dc:date>2020-07-08T03:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unset token on dashboard page refresh</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unset-token-on-dashboard-page-refresh/m-p/508302#M33810</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/30476"&gt;@kunwarjit&lt;/a&gt;&amp;nbsp; by dashboard refresh do you mean using Refresh in the Browser or&amp;nbsp; Refresh option in the dashboard for example&amp;nbsp;&lt;STRONG&gt;refresh="500"&lt;/STRONG&gt; or refresh within search?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 13:36:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unset-token-on-dashboard-page-refresh/m-p/508302#M33810</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-07-09T13:36:53Z</dc:date>
    </item>
  </channel>
</rss>

