<?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 display dynamic values in the panel title? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-dynamic-values-in-the-panel-title/m-p/656192#M54050</link>
    <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;Previously, I have asked a question titled as "&lt;SPAN&gt;How to display panels dynamically depends on selection&lt;/SPAN&gt;?"&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-panels-dynamically-depends-on-selection/m-p/655457/highlight/false#M53927" target="_self"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-panels-dynamically-depends-on-selection/m-p/655457/highlight/false#M53927&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The panels can be displayed dynamically by the user selection.&lt;/P&gt;&lt;P&gt;However, I need to display the title or the description according to the dymical selection.&lt;/P&gt;&lt;P&gt;That is, if the user select packet_size="32,40,128" from the filter.&lt;/P&gt;&lt;P&gt;Three panels will be displayed and I wish to display the title = "Packet size=xx", where xx represent the analyzed packet_size value.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex. Table 1 with title = "Packet size=32",&amp;nbsp;Table 2 with title = "Packet size=40",&amp;nbsp;Table 3 with title = "Packet size=128"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I refer to these history but I am unable to find a successful solution.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-time-on-dashboard-panel-s-title-field/m-p/412800#M40871" target="_self"&gt;How do I display _time on dashboard panel's title field?&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-value-display-in-the-Panel-Title/m-p/184816#M44824" target="_self"&gt;Dynamic value display in the Panel Title?&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-display-the-date-in-a-dashboard-title/td-p/386692?_ga=2.148667445.3039123.1693187765-420468717.1654138223&amp;amp;_gl=1*1nrchfj*_ga*NDIwNDY4NzE3LjE2NTQxMzgyMjM.*_ga_GS7YF8S63Y*MTY5MzQ1MjU0My41Mi4wLjE2OTM0NTI1NDMuMC4wLjA.*_ga_5EPM2P39FV*MTY5MzQ1NjU5My41MTIuMS4xNjkzNDU2NTkzLjAuMC4w" target="_self"&gt;How do you display the date in a dashboard title?&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to display the title or description with a variable in code or a value in filter selection?&lt;BR /&gt;&lt;BR /&gt;Thank you so much.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 05:45:37 GMT</pubDate>
    <dc:creator>Jouman</dc:creator>
    <dc:date>2023-08-31T05:45:37Z</dc:date>
    <item>
      <title>How to display dynamic values in the panel title?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-dynamic-values-in-the-panel-title/m-p/656192#M54050</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;Previously, I have asked a question titled as "&lt;SPAN&gt;How to display panels dynamically depends on selection&lt;/SPAN&gt;?"&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-panels-dynamically-depends-on-selection/m-p/655457/highlight/false#M53927" target="_self"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-panels-dynamically-depends-on-selection/m-p/655457/highlight/false#M53927&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The panels can be displayed dynamically by the user selection.&lt;/P&gt;&lt;P&gt;However, I need to display the title or the description according to the dymical selection.&lt;/P&gt;&lt;P&gt;That is, if the user select packet_size="32,40,128" from the filter.&lt;/P&gt;&lt;P&gt;Three panels will be displayed and I wish to display the title = "Packet size=xx", where xx represent the analyzed packet_size value.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex. Table 1 with title = "Packet size=32",&amp;nbsp;Table 2 with title = "Packet size=40",&amp;nbsp;Table 3 with title = "Packet size=128"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I refer to these history but I am unable to find a successful solution.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-display-time-on-dashboard-panel-s-title-field/m-p/412800#M40871" target="_self"&gt;How do I display _time on dashboard panel's title field?&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-value-display-in-the-Panel-Title/m-p/184816#M44824" target="_self"&gt;Dynamic value display in the Panel Title?&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-display-the-date-in-a-dashboard-title/td-p/386692?_ga=2.148667445.3039123.1693187765-420468717.1654138223&amp;amp;_gl=1*1nrchfj*_ga*NDIwNDY4NzE3LjE2NTQxMzgyMjM.*_ga_GS7YF8S63Y*MTY5MzQ1MjU0My41Mi4wLjE2OTM0NTI1NDMuMC4wLjA.*_ga_5EPM2P39FV*MTY5MzQ1NjU5My41MTIuMS4xNjkzNDU2NTkzLjAuMC4w" target="_self"&gt;How do you display the date in a dashboard title?&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to display the title or description with a variable in code or a value in filter selection?&lt;BR /&gt;&lt;BR /&gt;Thank you so much.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 05:45:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-dynamic-values-in-the-panel-title/m-p/656192#M54050</guid>
      <dc:creator>Jouman</dc:creator>
      <dc:date>2023-08-31T05:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to display dynamic values in the panel title?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-dynamic-values-in-the-panel-title/m-p/656193#M54051</link>
      <description>&lt;LI-CODE lang="markup"&gt;&amp;lt;form version="1.1"&amp;gt;
  &amp;lt;label&amp;gt;Multiselect&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false" autoRun="true"&amp;gt;
    &amp;lt;input type="multiselect" token="packetsize" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Packet Size&amp;lt;/label&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;
          ``` Query to generate packet sizes dynamially ```
          | makeresults
          | eval packetsize=split("40,128,520",",")
          | mvexpand packetsize
        &amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;fieldForValue&amp;gt;packetsize&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;packetsize&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;delimiter&amp;gt;,&amp;lt;/delimiter&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;eval token="firstpacketsize"&amp;gt;mvindex('form.packetsize',0)&amp;lt;/eval&amp;gt;
        &amp;lt;eval token="secondpacketsize"&amp;gt;mvindex('form.packetsize',1)&amp;lt;/eval&amp;gt;
        &amp;lt;eval token="thirdpacketsize"&amp;gt;mvindex('form.packetsize',2)&amp;lt;/eval&amp;gt;
        &amp;lt;eval token="fourthpacketsize"&amp;gt;mvindex('form.packetsize',3)&amp;lt;/eval&amp;gt;
        &amp;lt;eval token="fifthpacketsize"&amp;gt;mvindex('form.packetsize',4)&amp;lt;/eval&amp;gt;
      &amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel depends="$firstpacketsize$"&amp;gt;
      &amp;lt;title&amp;gt;Packet size = $firstpacketsize$&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;
            ``` Query to generate results based on packet size ```
            | makeresults
            | eval packetsize="$firstpacketsize$"
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$secondpacketsize$"&amp;gt;
      &amp;lt;title&amp;gt;Packet size = $secondpacketsize$&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;
            ``` Query to generate results based on packet size ```
            | makeresults
            | eval packetsize="$secondpacketsize$"
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$thirdpacketsize$"&amp;gt;
      &amp;lt;title&amp;gt;Packet size = $thirdpacketsize$&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;
            ``` Query to generate results based on packet size ```
            | makeresults
            | eval packetsize="$thirdpacketsize$"
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$fourthpacketsize$"&amp;gt;
      &amp;lt;title&amp;gt;Packet size = $fourthpacketsize$&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;
            ``` Query to generate results based on packet size ```
            | makeresults
            | eval packetsize="$fourthpacketsize$"
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$fifthpacketsize$"&amp;gt;
      &amp;lt;title&amp;gt;Packet size = $fifthpacketsize$&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;
            ``` Query to generate results based on packet size ```
            | makeresults
            | eval packetsize="$fifthpacketsize$"
          &amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 31 Aug 2023 06:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-dynamic-values-in-the-panel-title/m-p/656193#M54051</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-08-31T06:00:30Z</dc:date>
    </item>
  </channel>
</rss>

