<?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: Usage of Token for eval function in dashboard query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356094#M105394</link>
    <description>&lt;P&gt;@somesoni2, thnx for the reply...I had some typo error in my query, as my original query is too big I could not identify it...Fixed the issue and results are seen as expected.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2017 14:21:59 GMT</pubDate>
    <dc:creator>bharathkumarnec</dc:creator>
    <dc:date>2017-03-15T14:21:59Z</dc:date>
    <item>
      <title>Usage of Token for eval function in dashboard query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356092#M105392</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;How to use tokens in the eval function when we write query in the dashboard:&lt;/P&gt;

&lt;P&gt;I have a token with name "IN" and have to use in the query like below:&lt;/P&gt;

&lt;P&gt;index=abc  | stats count as count1| eval xyz=if(count1&amp;gt;=0,"$IN$",1)&lt;/P&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;P&gt;index=abc | stats count as count1 | eval xyz="$IN$"&lt;/P&gt;

&lt;P&gt;Kindly help me out on this issue.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
BK&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 12:39:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356092#M105392</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2017-03-15T12:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Token for eval function in dashboard query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356093#M105393</link>
      <description>&lt;P&gt;So you the syntax above are not working for you? What do you get when you use this?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 14:01:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356093#M105393</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-03-15T14:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Token for eval function in dashboard query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356094#M105394</link>
      <description>&lt;P&gt;@somesoni2, thnx for the reply...I had some typo error in my query, as my original query is too big I could not identify it...Fixed the issue and results are seen as expected.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 14:21:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356094#M105394</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2017-03-15T14:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Token for eval function in dashboard query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356095#M105395</link>
      <description>&lt;P&gt;Then please close / delete this question since it was user error.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 14:26:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356095#M105395</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-03-15T14:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Token for eval function in dashboard query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356096#M105396</link>
      <description>&lt;P&gt;You are doing it correctly; there must be some other problem.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 19:31:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Usage-of-Token-for-eval-function-in-dashboard-query/m-p/356096#M105396</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-15T19:31:10Z</dc:date>
    </item>
  </channel>
</rss>

