<?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: query help inputlookup map in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/query-help-inputlookup-map/m-p/412113#M118855</link>
    <description>&lt;P&gt;Try to use  |inpulookup dates.csv where Quarter="$quarter$", might be the token value is set to empty and the replacement causes an syntax error in the query, so enclose the token value in double quotes.&lt;/P&gt;</description>
    <pubDate>Fri, 18 May 2018 12:38:10 GMT</pubDate>
    <dc:creator>rlalwani_splunk</dc:creator>
    <dc:date>2018-05-18T12:38:10Z</dc:date>
    <item>
      <title>query help inputlookup map</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-inputlookup-map/m-p/412110#M118852</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| rest /services/authentication/users splunk_server=local 
| search 
    [| rest /services/authentication/current-context 
    | rename username as title 
    | fields title] 
| eval title=upper(title) 
| lookup employeeinfo.csv RACF_ID as title output EMPLOYEE_FULL_NAME 
| lookup rolesnames.csv "Delivery Manager" as EMPLOYEE_FULL_NAME output "Delivery Area" as area 
| where EMPLOYEE_FULL_NAME="abcd" 
| map 
    [| inputlookup EPerformanceData.csv 
    | search "Sub Division 6"="$area$" 
    | stats count  by "Sub Division 5" 
    | eval "% Completed"=((Completed/'Total to be Complete')*100) 
    | eval "% Completed"=round('% Completed',2) 
    | rename "Sub Division 5" as "Business Area"]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This patch of code works well. Now my requirement is i need to add once more inpulookupfile saying dates.csv which i need to use in this query like &lt;CODE&gt;|inpulookup dates.csv |search Quarter=$quarter$&lt;/CODE&gt; and here the $quarter$` values comes from the selected dropdown. &lt;/P&gt;

&lt;P&gt;But where ever i try to include the above line of code either i get error or my previous tokens like area doesn't get the required value. &lt;BR /&gt;
So please help me with thequery. &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 10:45:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-inputlookup-map/m-p/412110#M118852</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2018-05-18T10:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: query help inputlookup map</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-inputlookup-map/m-p/412111#M118853</link>
      <description>&lt;P&gt;Did you try to add token's value in an eval and try to call it on your new inputlookup by eval?&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 11:45:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-inputlookup-map/m-p/412111#M118853</guid>
      <dc:creator>ppatrikfr</dc:creator>
      <dc:date>2018-05-18T11:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: query help inputlookup map</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-inputlookup-map/m-p/412112#M118854</link>
      <description>&lt;P&gt;Let me explaine better, In my mind you are trying to do this "| Join [|inpulookup dates.csv |search Quarter=$quarter$]", if your "$quarter$" did not work try "| eval quarterValue="$quarter$"" and then "| Join [|inpulookup dates.csv |search Quarter=quarterValue]"&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 11:49:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-inputlookup-map/m-p/412112#M118854</guid>
      <dc:creator>ppatrikfr</dc:creator>
      <dc:date>2018-05-18T11:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: query help inputlookup map</title>
      <link>https://community.splunk.com/t5/Splunk-Search/query-help-inputlookup-map/m-p/412113#M118855</link>
      <description>&lt;P&gt;Try to use  |inpulookup dates.csv where Quarter="$quarter$", might be the token value is set to empty and the replacement causes an syntax error in the query, so enclose the token value in double quotes.&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 12:38:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/query-help-inputlookup-map/m-p/412113#M118855</guid>
      <dc:creator>rlalwani_splunk</dc:creator>
      <dc:date>2018-05-18T12:38:10Z</dc:date>
    </item>
  </channel>
</rss>

