<?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 use a variable in DashStudio? in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727288#M5694</link>
    <description>&lt;P&gt;That did it, marking as the answer.&amp;nbsp; Dang I was all around this answer - just not on it.&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2020 19:04:46 GMT</pubDate>
    <dc:creator>Chris_Byrne</dc:creator>
    <dc:date>2020-05-12T19:04:46Z</dc:date>
    <item>
      <title>How to use a variable in DashStudio?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727286#M5692</link>
      <description>&lt;P&gt;I'm very interested in using the dashboard variable feature. However, the documentation on how to use it is sparse (ref: &lt;A href="https://docs.appdynamics.com/display/PRO45/Dashboard+Variables" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.appdynamics.com/display/PRO45/Dashboard+Variables&lt;/A&gt;). I've tried to use it in both a metric and an ADQL query.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;In the metric, it lets me choose the variable in the application dropwdown (i have it as an application) - but the 3rd linked dropdown does not activate. Note that I do have a default set.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;In the ADQL query, I can't find a way to introduce the variable. My variable name is ChosenApp, which shows at the top as $ChosenApp, I've taken a valid query that produces data:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;SELECT series(eventTimestamp, "30m"), count(*) FROM transactions where application = "RealAppName"&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;and tried to get it to take the variable - to no avail. Items I've tried replacing "RealAppName" with include:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;$ChosenApp&lt;BR /&gt;"$ChosenApp"&lt;BR /&gt;ChosenApp&lt;BR /&gt;"ChosenApp"&lt;BR /&gt;"{ChosenApp}"&lt;BR /&gt;"{$ChosenApp}"&lt;BR /&gt;{ChosenApp}&lt;BR /&gt;{$ChosenApp}&lt;BR /&gt;"@ChosenApp"&lt;BR /&gt;@ChosenApp&lt;/P&gt;

&lt;P&gt;I'm out of ideas on both and google was no additional help. Is anyone able to provide further instruction on what to try?&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 21:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727286#M5692</guid>
      <dc:creator>Chris_Byrne</dc:creator>
      <dc:date>2020-05-01T21:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a variable in DashStudio?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727287#M5693</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;So sorry for your frustration here. We will look to improve the documentation. This should be the correct syntax:&amp;nbsp;"${&lt;EM&gt;RealAppName&lt;/EM&gt;}"&lt;/P&gt;&lt;P&gt;as in:&amp;nbsp;&lt;EM&gt;SELECT series(eventTimestamp, "30m"), count(*) FROM transactions where application = "${RealAppName}"&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 19:00:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727287#M5693</guid>
      <dc:creator>Brian_Zaik</dc:creator>
      <dc:date>2020-05-04T19:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a variable in DashStudio?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727288#M5694</link>
      <description>&lt;P&gt;That did it, marking as the answer.&amp;nbsp; Dang I was all around this answer - just not on it.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 19:04:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727288#M5694</guid>
      <dc:creator>Chris_Byrne</dc:creator>
      <dc:date>2020-05-12T19:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a variable in DashStudio?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727289#M5695</link>
      <description>&lt;P&gt;Can the variable also be used in a text box widget?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 11:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727289#M5695</guid>
      <dc:creator>Keith_Sanders</dc:creator>
      <dc:date>2020-06-10T11:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a variable in DashStudio?</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727290#M5696</link>
      <description>&lt;P&gt;Hi Keith, This is not yet supported. We will go back and improve the Label widget soon.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 21:48:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-use-a-variable-in-DashStudio/m-p/727290#M5696</guid>
      <dc:creator>Brian_Zaik</dc:creator>
      <dc:date>2020-06-15T21:48:34Z</dc:date>
    </item>
  </channel>
</rss>

