<?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: High Refresh is causing Splunk not to assign token correctly in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/High-Refresh-is-causing-Splunk-not-to-assign-token-correctly/m-p/580669#M47563</link>
    <description>&lt;P&gt;Rather than find a bug, I think you've made a good case against refreshing dashboards too often.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; It would seem tokens are cleared when the dashboard refreshes and that is why drilldown fails.&amp;nbsp; The less frequently the dashboard refreshes, the lower the chances of failure.&lt;/P&gt;&lt;P&gt;Remember, every time the dashboard refreshes, every search in the dashboard runs again - consuming resources and possibly preventing other searches from running.&amp;nbsp; Ask yourself what information users will get in 5 seconds that they won't get in 30 or 60 seconds and what will they do with that information.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jan 2022 18:29:04 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-01-11T18:29:04Z</dc:date>
    <item>
      <title>High Refresh is causing Splunk not to assign token correctly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/High-Refresh-is-causing-Splunk-not-to-assign-token-correctly/m-p/580642#M47559</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I have found a bug in Splunk!!&lt;/P&gt;&lt;P&gt;I have a table like below, I need to click on different columns and for different actions to happen (drill-down).&lt;/P&gt;&lt;P&gt;I have noticed because I have a 5-second refresh rate on the table when a user clicks on the column the tokens get set 80% of the time and the other 20% value of "null" is set.&amp;nbsp; Is there a workaround for this I am on 8.2.0.&lt;/P&gt;&lt;P&gt;When I changed the refresh to 60 seconds it works all the time, when I put it a 1 second, it never works.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertlynch2020_0-1641917539823.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17509iAF2BEFA31D09A6BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertlynch2020_0-1641917539823.png" alt="robertlynch2020_0-1641917539823.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;robertlynch2020_0-1641917539823.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;process_serviceName token can get set to the correct value 80% of the time, but "null" can be added to the other 20%.&lt;/P&gt;&lt;P&gt;&amp;lt;eval token="process_serviceName"&amp;gt;mvindex(split($row.service_name$," # "),0)&amp;lt;/eval&amp;gt;&lt;/P&gt;&lt;P&gt;I have other columns that work fine, but i think as i am doing a calculation on the value this is why it is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;condition match="$click.name2$==&amp;amp;quot;Process_Name&amp;amp;quot; AND ($row.Service_type$==&amp;amp;quot;agent-based&amp;amp;quot; OR $row.Service_type$==&amp;amp;quot;launcher-based&amp;amp;quot;)"&amp;gt;
            &amp;lt;!--set token="process_serviceName"&amp;gt;$row.service_name$&amp;lt;/set--&amp;gt;
			&amp;lt;eval token="process_serviceName"&amp;gt;mvindex(split($row.service_name$," # "),0)&amp;lt;/eval&amp;gt;	
            &amp;lt;set token="pid_clicked"&amp;gt;$row.PID$&amp;lt;/set&amp;gt;
            &amp;lt;set token="launcher_name_set_from_process_token"&amp;gt;*&amp;lt;/set&amp;gt;
			&amp;lt;unset token="Process_historic_graph"&amp;gt;&amp;lt;/unset&amp;gt;
			&amp;lt;unset token="Health_Token"&amp;gt;&amp;lt;/unset&amp;gt;
			&amp;lt;unset token="Resources_Token"&amp;gt;&amp;lt;/unset&amp;gt;
			&amp;lt;unset token="Java_Token"&amp;gt;&amp;lt;/unset&amp;gt;
          &amp;lt;/condition&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 16:20:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/High-Refresh-is-causing-Splunk-not-to-assign-token-correctly/m-p/580642#M47559</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-01-11T16:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: High Refresh is causing Splunk not to assign token correctly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/High-Refresh-is-causing-Splunk-not-to-assign-token-correctly/m-p/580669#M47563</link>
      <description>&lt;P&gt;Rather than find a bug, I think you've made a good case against refreshing dashboards too often.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; It would seem tokens are cleared when the dashboard refreshes and that is why drilldown fails.&amp;nbsp; The less frequently the dashboard refreshes, the lower the chances of failure.&lt;/P&gt;&lt;P&gt;Remember, every time the dashboard refreshes, every search in the dashboard runs again - consuming resources and possibly preventing other searches from running.&amp;nbsp; Ask yourself what information users will get in 5 seconds that they won't get in 30 or 60 seconds and what will they do with that information.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 18:29:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/High-Refresh-is-causing-Splunk-not-to-assign-token-correctly/m-p/580669#M47563</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-01-11T18:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: High Refresh is causing Splunk not to assign token correctly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/High-Refresh-is-causing-Splunk-not-to-assign-token-correctly/m-p/580675#M47565</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes, i agree the 5 seconds is a lot, but businesses are driving that one.&lt;/P&gt;&lt;P&gt;I did find a workaround.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;eval token="process_serviceName"&amp;gt;mvindex(split($row.service_name$," # "),0)&amp;lt;/eval&amp;gt;&lt;/P&gt;&lt;P&gt;I was able to display it directly in the table and set the token, it seems to always work now.&lt;/P&gt;&lt;P&gt;&amp;lt;set token="process_serviceName"&amp;gt;$row.service_name$&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P&gt;Thanks for your comments&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 18:50:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/High-Refresh-is-causing-Splunk-not-to-assign-token-correctly/m-p/580675#M47565</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-01-11T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: High Refresh is causing Splunk not to assign token correctly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/High-Refresh-is-causing-Splunk-not-to-assign-token-correctly/m-p/580676#M47566</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes, i agree the 5 seconds is a lot, but businesses are driving that one.&lt;/P&gt;&lt;P&gt;I did find a workaround.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;eval token="process_serviceName"&amp;gt;mvindex(split($row.service_name$," # "),0)&amp;lt;/eval&amp;gt;&lt;/P&gt;&lt;P&gt;I was able to display it directly in the table and set the token, it seems to always work now.&lt;/P&gt;&lt;P&gt;&amp;lt;set token="process_serviceName"&amp;gt;$row.service_name$&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P&gt;Thanks for your comments&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 18:51:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/High-Refresh-is-causing-Splunk-not-to-assign-token-correctly/m-p/580676#M47566</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2022-01-11T18:51:41Z</dc:date>
    </item>
  </channel>
</rss>

