<?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: Error in Eval in Search Command. Please help. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349635#M162317</link>
    <description>&lt;P&gt;Or just check whether your user input IP contains the \" or not and proceed accordingly by removing them or not&lt;/P&gt;</description>
    <pubDate>Wed, 14 Mar 2018 19:08:52 GMT</pubDate>
    <dc:creator>tiagofbmm</dc:creator>
    <dc:date>2018-03-14T19:08:52Z</dc:date>
    <item>
      <title>Error in Eval in Search Command. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349629#M162311</link>
      <description>&lt;P&gt;|  makeresults&lt;BR /&gt;
| eval ipaddress=192.168.1.1&lt;BR /&gt;
| lookup AM ipaddress OUTPUT hostname&lt;BR /&gt;
| table ipaddress,hostname&lt;BR /&gt;
This works fine if I place the ipaddess between the double quotes other wise it throws Error in 'eval' command. The number 192.168.1.1 is invalid.&lt;/P&gt;

&lt;P&gt;Any clue.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 18:29:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349629#M162311</guid>
      <dc:creator>ReachDataScient</dc:creator>
      <dc:date>2018-03-14T18:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Eval in Search Command. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349630#M162312</link>
      <description>&lt;P&gt;IP address is a string, so it should be enclosed in double quotes. That's the syntax.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 18:55:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349630#M162312</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-03-14T18:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Eval in Search Command. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349631#M162313</link>
      <description>&lt;P&gt;On a dashboard I have an input text field where user can type the IP Address and I pass this as a token to the panel search shown above. The user would never type IP Address in double quotes, so they see the Error in 'eval' command. The number 192.168.1.1 is invalid  display in the panel.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 19:01:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349631#M162313</guid>
      <dc:creator>ReachDataScient</dc:creator>
      <dc:date>2018-03-14T19:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Eval in Search Command. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349632#M162314</link>
      <description>&lt;P&gt;When you are putting an ip address, the "." is concatenating strings that are actually numbers, hence the error like "type mismatch"&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 19:02:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349632#M162314</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-14T19:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Eval in Search Command. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349633#M162315</link>
      <description>&lt;P&gt;Just use "$ip_token$" and carry on. It's up to you to take care of that if the user won't type the IP between quotes&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 19:03:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349633#M162315</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-14T19:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Eval in Search Command. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349634#M162316</link>
      <description>&lt;P&gt;You can either update your query to use the token within quotes OR update your text box to include double quotes as prefix/suffix for that. With that, you'd need to include a label/.note in your dashboard to instruct use to NOT enter with double quotes.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 19:06:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349634#M162316</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-03-14T19:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Eval in Search Command. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349635#M162317</link>
      <description>&lt;P&gt;Or just check whether your user input IP contains the \" or not and proceed accordingly by removing them or not&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 19:08:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349635#M162317</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2018-03-14T19:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Eval in Search Command. Please help.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349636#M162318</link>
      <description>&lt;P&gt;Wierd it works with out quotes for you ..  but we should keep the value in double quotes to work..&lt;/P&gt;

&lt;P&gt;| eval client_ip=192.162.207.160 - The number 192.162.207.160  is invalid.&lt;BR /&gt;
| eval client_ip="192.162.207.160" - works fine &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:27:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-Eval-in-Search-Command-Please-help/m-p/349636#M162318</guid>
      <dc:creator>prabhu77749</dc:creator>
      <dc:date>2020-09-29T18:27:28Z</dc:date>
    </item>
  </channel>
</rss>

