<?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 the first Input Token in the second Input in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-the-first-Input-Token-in-the-second-Input/m-p/195628#M12218</link>
    <description>&lt;P&gt;hi digital,&lt;/P&gt;

&lt;P&gt;in the next line, you forget to write the &lt;CODE&gt;+&lt;/CODE&gt; before &lt;CODE&gt;$Expired$&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;suffix&amp;gt;" | eval CLIENT_IP_BLACKLIST = 1 | eval CLIENT_IP_BLACKLIST_EXPIRY = relative_time(now(), "$Expired$") |...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So here's what you need to write&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;suffix&amp;gt;" | eval CLIENT_IP_BLACKLIST = 1 | eval CLIENT_IP_BLACKLIST_EXPIRY = relative_time(now(), "+$Expired$") |...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then tries to execute to get the result.&lt;BR /&gt;
I waiting your remarks to see if it functioning&lt;BR /&gt;
please forgive my english,&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jan 2015 13:12:14 GMT</pubDate>
    <dc:creator>gyslainlatsa</dc:creator>
    <dc:date>2015-01-19T13:12:14Z</dc:date>
    <item>
      <title>How to use the first Input Token in the second Input</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-the-first-Input-Token-in-the-second-Input/m-p/195627#M12217</link>
      <description>&lt;P&gt;Hi Comunity&lt;BR /&gt;
I have some problem with input token in XML forms. The following code is working:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Update IP Blacklist&amp;lt;/label&amp;gt;
  &amp;lt;description&amp;gt;Expired Bsp.: 60m, 24h, 8d, 2w, 1mon&amp;lt;/description&amp;gt;
  &amp;lt;fieldset submitButton="true" autoRun="true"&amp;gt;   
    &amp;lt;input type="text" token="Expired"&amp;gt;
      &amp;lt;default&amp;gt;2w&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="CLIENT_IP"&amp;gt;
      &amp;lt;suffix&amp;gt;" | eval CLIENT_IP_BLACKLIST = 1 | eval CLIENT_IP_BLACKLIST_EXPIRY = relative_time(now(), "+2w") |...
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and the following code does not: (the difference is at the end. I replaced the "+2w" with $Expired$)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Update IP Blacklist&amp;lt;/label&amp;gt;
  &amp;lt;description&amp;gt;Expired Bsp.: 60m, 24h, 8d, 2w, 1mon&amp;lt;/description&amp;gt;
  &amp;lt;fieldset submitButton="true" autoRun="true"&amp;gt;   
    &amp;lt;input type="text" token="Expired"&amp;gt;
      &amp;lt;default&amp;gt;2w&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="CLIENT_IP"&amp;gt;
      &amp;lt;suffix&amp;gt;" | eval CLIENT_IP_BLACKLIST = 1 | eval CLIENT_IP_BLACKLIST_EXPIRY = relative_time(now(), "$Expired$") |...
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After I replaced that, I get the Error: "Unbalanced quotes." on the Dashboard. I tried it also with $Expired$ (without quotes) and $Expired|s$. Allways the same. &lt;/P&gt;

&lt;P&gt;Has anyone a hint for me? &lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 12:43:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-the-first-Input-Token-in-the-second-Input/m-p/195627#M12217</guid>
      <dc:creator>digitalX</dc:creator>
      <dc:date>2015-01-19T12:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the first Input Token in the second Input</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-the-first-Input-Token-in-the-second-Input/m-p/195628#M12218</link>
      <description>&lt;P&gt;hi digital,&lt;/P&gt;

&lt;P&gt;in the next line, you forget to write the &lt;CODE&gt;+&lt;/CODE&gt; before &lt;CODE&gt;$Expired$&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;suffix&amp;gt;" | eval CLIENT_IP_BLACKLIST = 1 | eval CLIENT_IP_BLACKLIST_EXPIRY = relative_time(now(), "$Expired$") |...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So here's what you need to write&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;suffix&amp;gt;" | eval CLIENT_IP_BLACKLIST = 1 | eval CLIENT_IP_BLACKLIST_EXPIRY = relative_time(now(), "+$Expired$") |...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then tries to execute to get the result.&lt;BR /&gt;
I waiting your remarks to see if it functioning&lt;BR /&gt;
please forgive my english,&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 13:12:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-the-first-Input-Token-in-the-second-Input/m-p/195628#M12218</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2015-01-19T13:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the first Input Token in the second Input</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-the-first-Input-Token-in-the-second-Input/m-p/195629#M12219</link>
      <description>&lt;P&gt;Yes, it works. Thank you very much! It was so clear, but I was too close in it... was searching on the wrong places. &lt;BR /&gt;
Your english is perfect for me and my understanding, coming from switzerland. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2015 13:59:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-the-first-Input-Token-in-the-second-Input/m-p/195629#M12219</guid>
      <dc:creator>digitalX</dc:creator>
      <dc:date>2015-01-19T13:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the first Input Token in the second Input</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-the-first-Input-Token-in-the-second-Input/m-p/195630#M12220</link>
      <description>&lt;P&gt;hi digitalx,&lt;BR /&gt;
thank you for your compliment, I coming from Cameroon but I work online to a resident of the USA,&lt;BR /&gt;
we can work together to later if you wish, to help each other together in case of difficulties, here is my email: &lt;CODE&gt;gyslainko@gmail.com&lt;/CODE&gt;&lt;BR /&gt;
see you soon.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 07:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-use-the-first-Input-Token-in-the-second-Input/m-p/195630#M12220</guid>
      <dc:creator>gyslainlatsa</dc:creator>
      <dc:date>2015-01-20T07:58:58Z</dc:date>
    </item>
  </channel>
</rss>

