<?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 Error in 'inputlookup' command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-in-inputlookup-command/m-p/92007#M23722</link>
    <description>&lt;P&gt;I get the following error: &lt;/P&gt;

&lt;P&gt;"Error in 'inputlookup' command: This command must be the first command of a search."&lt;/P&gt;

&lt;P&gt;FOR&lt;/P&gt;

&lt;P&gt;source="/home/loart/dev/Splunk/Test_Logs/nepoc_access_small.log" | inputlookup month_year.csv &lt;/P&gt;

&lt;P&gt;AND&lt;/P&gt;

&lt;P&gt;source="/home/loart/dev/Splunk/Test_Logs/nepoc_access_small.log" | inputlookup month_year&lt;/P&gt;

&lt;P&gt;However, inputlookup is indeed the first command, month_year.csv is defined, and month_year is a valid lookup.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:01:53 GMT</pubDate>
    <dc:creator>terryloar</dc:creator>
    <dc:date>2020-09-28T12:01:53Z</dc:date>
    <item>
      <title>Error in 'inputlookup' command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-inputlookup-command/m-p/92007#M23722</link>
      <description>&lt;P&gt;I get the following error: &lt;/P&gt;

&lt;P&gt;"Error in 'inputlookup' command: This command must be the first command of a search."&lt;/P&gt;

&lt;P&gt;FOR&lt;/P&gt;

&lt;P&gt;source="/home/loart/dev/Splunk/Test_Logs/nepoc_access_small.log" | inputlookup month_year.csv &lt;/P&gt;

&lt;P&gt;AND&lt;/P&gt;

&lt;P&gt;source="/home/loart/dev/Splunk/Test_Logs/nepoc_access_small.log" | inputlookup month_year&lt;/P&gt;

&lt;P&gt;However, inputlookup is indeed the first command, month_year.csv is defined, and month_year is a valid lookup.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:01:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-inputlookup-command/m-p/92007#M23722</guid>
      <dc:creator>terryloar</dc:creator>
      <dc:date>2020-09-28T12:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'inputlookup' command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-in-inputlookup-command/m-p/92008#M23723</link>
      <description>&lt;P&gt;To use inputlookup it must be the first command, e.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup blah.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To use it later in a search you use it like so;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=blah | inputlookup append=t blah.csv
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Jul 2012 18:27:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-in-inputlookup-command/m-p/92008#M23723</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-07-05T18:27:44Z</dc:date>
    </item>
  </channel>
</rss>

