<?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 How to obtain token value from token with suffix? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-obtain-token-value-from-token-with-suffix/m-p/609043#M49944</link>
    <description>&lt;P&gt;Hopefully I can explain this so it's not too confusing and I'm not overcomplicating things....&amp;nbsp; I'm currently setting a token based on a particular click value, which is used to drive other charts in the dashboard.&amp;nbsp; I'm looking to expand upon that and lookup a second token based on that token by appending something like _IntValue to the token name.&lt;/P&gt;
&lt;P&gt;Here's an example:&lt;/P&gt;
&lt;P&gt;1) I first set static token int values in the dashboard based on what values will appear as in the first chart.&amp;nbsp; The first chart will have click values of "Sample Click" and "Sample 2 Click".&amp;nbsp; I want to manually say that the IntValues for those are 20 and 60.&lt;/P&gt;
&lt;P&gt;&amp;lt;set token="Sample Click Value_IntValue"&amp;gt;20&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;set token="Sample 2 Click Value_IntValue"&amp;gt;60&amp;lt;/set&amp;gt;&lt;/P&gt;
&lt;P&gt;2) When I click on the dashboard and the value is "Sample Click", I want to be able to use "Sample Click_IntValue" as a token in another chart.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The real-life scenario is certain click values will already be calculating total initiations over a period of time.&amp;nbsp; Each one of those initiations takes X hours to complete.&amp;nbsp; I want to detail how one particular task that takes 20 hours each attempt that was run 20 times over a period of time equates to 400 hours over that period of time.&amp;nbsp; And when another task is clicked that takes 60 hours to complete and was run 10 times over a period of time equates to 600 hours.&lt;/P&gt;
&lt;P&gt;Thanks in advance!!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 16:03:05 GMT</pubDate>
    <dc:creator>hendricksonet</dc:creator>
    <dc:date>2022-08-10T16:03:05Z</dc:date>
    <item>
      <title>How to obtain token value from token with suffix?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-obtain-token-value-from-token-with-suffix/m-p/609043#M49944</link>
      <description>&lt;P&gt;Hopefully I can explain this so it's not too confusing and I'm not overcomplicating things....&amp;nbsp; I'm currently setting a token based on a particular click value, which is used to drive other charts in the dashboard.&amp;nbsp; I'm looking to expand upon that and lookup a second token based on that token by appending something like _IntValue to the token name.&lt;/P&gt;
&lt;P&gt;Here's an example:&lt;/P&gt;
&lt;P&gt;1) I first set static token int values in the dashboard based on what values will appear as in the first chart.&amp;nbsp; The first chart will have click values of "Sample Click" and "Sample 2 Click".&amp;nbsp; I want to manually say that the IntValues for those are 20 and 60.&lt;/P&gt;
&lt;P&gt;&amp;lt;set token="Sample Click Value_IntValue"&amp;gt;20&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;set token="Sample 2 Click Value_IntValue"&amp;gt;60&amp;lt;/set&amp;gt;&lt;/P&gt;
&lt;P&gt;2) When I click on the dashboard and the value is "Sample Click", I want to be able to use "Sample Click_IntValue" as a token in another chart.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The real-life scenario is certain click values will already be calculating total initiations over a period of time.&amp;nbsp; Each one of those initiations takes X hours to complete.&amp;nbsp; I want to detail how one particular task that takes 20 hours each attempt that was run 20 times over a period of time equates to 400 hours over that period of time.&amp;nbsp; And when another task is clicked that takes 60 hours to complete and was run 10 times over a period of time equates to 600 hours.&lt;/P&gt;
&lt;P&gt;Thanks in advance!!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 16:03:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-obtain-token-value-from-token-with-suffix/m-p/609043#M49944</guid>
      <dc:creator>hendricksonet</dc:creator>
      <dc:date>2022-08-10T16:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Obtain token value from token with suffix?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-obtain-token-value-from-token-with-suffix/m-p/609044#M49945</link>
      <description>&lt;P&gt;In your drilldown for the first chart, use &amp;lt;eval&amp;gt; for the tokens so that you can use an if or case function to set the value of the token based on the click value.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 16:01:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-obtain-token-value-from-token-with-suffix/m-p/609044#M49945</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-08-10T16:01:45Z</dc:date>
    </item>
  </channel>
</rss>

