<?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: Pass a token to a label in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218767#M13578</link>
    <description>&lt;P&gt;Con ambos lo mismo, sí.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2015 14:45:59 GMT</pubDate>
    <dc:creator>slr</dc:creator>
    <dc:date>2015-11-04T14:45:59Z</dc:date>
    <item>
      <title>Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218762#M13573</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;

&lt;P&gt;I have this issue, and is really weird.  First of all, I have a 6.3 deployment.&lt;/P&gt;

&lt;P&gt;If I put the token in a title etiquette all works fine, but when I do the same in a label etiquette like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;label&amp;gt;$token$&amp;lt;/label&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The first time works fine, but when I reload the dashboard, Splunk adds another pair of $, and I can't see the token's value:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$$token$$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is weird, but even more when you go to the XML code and it seems to be right:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;label&amp;gt;$token$&amp;lt;/label&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but if you click in Edit Panels, and then edit input, I can see in the label text box the next:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$$token$$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I reformat the token all work fine... until I reload the dashboard (because then all start again).&lt;/P&gt;

&lt;P&gt;What's wrong?&lt;/P&gt;

&lt;P&gt;I read this &lt;A href="https://answers.splunk.com/answers/126939/pass-token-to-a-label.html"&gt;question/answer&lt;/A&gt; but didn't work for me:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/126939/pass-token-to-a-label.html"&gt;https://answers.splunk.com/answers/126939/pass-token-to-a-label.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 09:46:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218762#M13573</guid>
      <dc:creator>slr</dc:creator>
      <dc:date>2015-11-04T09:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218763#M13574</link>
      <description>&lt;P&gt;Santi, has probado a poner el caracter $ en modo ASCII ?&lt;/P&gt;

&lt;P&gt;quiza necesites CDATA&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 13:47:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218763#M13574</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2015-11-04T13:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218764#M13575</link>
      <description>&lt;P&gt;Hola Angel, gracias por la ayuda &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;He localizado los códigos del caracter $ en esta página: &lt;A href="http://dev.w3.org/html5/html-author/charref"&gt;http://dev.w3.org/html5/html-author/charref&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Según &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/OverviewofSimplifiedXML"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.0/Viz/OverviewofSimplifiedXML&lt;/A&gt; no sería necesario usar la codificación con el símbolo &lt;STRONG&gt;$&lt;/STRONG&gt;, pero lo he realizado igualmente tal cual indican en ese documento.&lt;/P&gt;

&lt;P&gt;He usado el CDATA con las tres codificaciones posibles, y no funciona ninguna:&lt;BR /&gt;
    &lt;CODE&gt;&amp;amp;#36;&lt;/CODE&gt; aparece la codificación en lugar del símbolo $&lt;BR /&gt;
    &lt;CODE&gt;&amp;amp;#x00024;&lt;/CODE&gt; aparece la codificación en lugar del símbolo $&lt;BR /&gt;
    &lt;CODE&gt;&amp;amp;dollar;&lt;/CODE&gt; aparece la codificación en lugar del símbolo $&lt;/P&gt;

&lt;P&gt;Sin el CDATA esto es lo que obtengo:&lt;BR /&gt;
    &lt;CODE&gt;&amp;amp;#36;&lt;/CODE&gt; ocurre exactamente lo mismo que comento en la pregunta&lt;BR /&gt;
    &lt;CODE&gt;&amp;amp;#x00024;&lt;/CODE&gt; ocurre exactamente lo mismo que comento en la pregunta, añadiendo que en el XML Splunk traduce la codificación por el símbolo $&lt;BR /&gt;
    &lt;CODE&gt;&amp;amp;dollar;&lt;/CODE&gt; no lo admite&lt;/P&gt;

&lt;P&gt;¿Se te ocurre algo más?&lt;/P&gt;

&lt;P&gt;Gracias &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 14:31:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218764#M13575</guid>
      <dc:creator>slr</dc:creator>
      <dc:date>2015-11-04T14:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218765#M13576</link>
      <description>&lt;P&gt;te pasa en Firefox y en Chrome lo mismo?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 14:36:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218765#M13576</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2015-11-04T14:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218766#M13577</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;otra idea, si lo que estas intentando hacer es poner el titulo a un panel, no es &amp;lt;label&amp;gt; sino &amp;lt;title&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Nov 2015 14:44:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218766#M13577</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2015-11-04T14:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218767#M13578</link>
      <description>&lt;P&gt;Con ambos lo mismo, sí.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 14:45:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218767#M13578</guid>
      <dc:creator>slr</dc:creator>
      <dc:date>2015-11-04T14:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218768#M13579</link>
      <description>&lt;P&gt;Es el título de un input, y solo puede ser con &lt;STRONG&gt;label&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;:S&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 14:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218768#M13579</guid>
      <dc:creator>slr</dc:creator>
      <dc:date>2015-11-04T14:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218769#M13580</link>
      <description>&lt;P&gt;humm.... quiza prueba a contruirte un panel que te diga que tokens estan disponibles en cada momento, puede ser una manera de "debugear"&lt;BR /&gt;
En la app de ejemplos de dashboards tienes al final un par de opciones para esto. No se si ya lo habras echado un ojo.&lt;/P&gt;

&lt;P&gt;Tiens mas info en el link &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/tokens"&gt;link text&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 15:52:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218769#M13580</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2015-11-04T15:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218770#M13581</link>
      <description>&lt;P&gt;por ahi la gente comenta que se puede probar a reiniciar splunk con cada cambio que pruebes, pero no le encuentro la logica...&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 16:11:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218770#M13581</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2015-11-04T16:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218771#M13582</link>
      <description>&lt;P&gt;Realicé algún reinicio el primer día que me encontré este problema, por probar, pero efectivamente no hay cambio en los resultados.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 16:15:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218771#M13582</guid>
      <dc:creator>slr</dc:creator>
      <dc:date>2015-11-04T16:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218772#M13583</link>
      <description>&lt;P&gt;Acabo de leer esto y puede que haya una entrada relacionada con tu problema&lt;/P&gt;

&lt;P&gt;2015-9-22   SPL-92870   Token not visible in Visualizations Editor if the token contains "$" character.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1/ReleaseNotes/KnownIssues#Upgrade_Issues"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1/ReleaseNotes/KnownIssues#Upgrade_Issues&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 14:36:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218772#M13583</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2015-11-09T14:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218773#M13584</link>
      <description>&lt;P&gt;Sí, parece ser que desde Septiembre se conoce este problema... pero aún no lo han solucionado. Pues nada, toca esperar.&lt;/P&gt;

&lt;P&gt;Gracias por la ayuda &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 10:51:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218773#M13584</guid>
      <dc:creator>slr</dc:creator>
      <dc:date>2015-11-10T10:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pass a token to a label</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218774#M13585</link>
      <description>&lt;P&gt;Hi @slr, did you find a solution to this problem? I too am facing the same issue and am not able to work around this!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 11:59:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Pass-a-token-to-a-label/m-p/218774#M13585</guid>
      <dc:creator>balajibt</dc:creator>
      <dc:date>2017-07-14T11:59:53Z</dc:date>
    </item>
  </channel>
</rss>

