<?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: inputlookup csv in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-csv/m-p/464590#M140091</link>
    <description>&lt;P&gt;Hi @keyu921,&lt;BR /&gt;
the command to use is lookup, try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=log sourcetype=csv 
| lookup testing.csv host OUTPUT location
| stats count by location
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Remember to define Lookup definitions.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 08:57:11 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-05-25T08:57:11Z</dc:date>
    <item>
      <title>inputlookup csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-csv/m-p/464589#M140090</link>
      <description>&lt;P&gt;I setup testing.csv lookup as following&lt;BR /&gt;host,location&lt;BR /&gt;123,HK&lt;BR /&gt;234,US&lt;BR /&gt;345,UK&lt;/P&gt;
&lt;P&gt;I would like to basic search if host matched in the log, stats count by location&lt;BR /&gt;index=log sourcetype=csv |search [|inputlookup testing | return $host]&lt;BR /&gt;| stats .... by location&lt;/P&gt;
&lt;P&gt;But seems return nothings&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 21:54:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-csv/m-p/464589#M140090</guid>
      <dc:creator>keyu921</dc:creator>
      <dc:date>2020-06-05T21:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: inputlookup csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-csv/m-p/464590#M140091</link>
      <description>&lt;P&gt;Hi @keyu921,&lt;BR /&gt;
the command to use is lookup, try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=log sourcetype=csv 
| lookup testing.csv host OUTPUT location
| stats count by location
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Remember to define Lookup definitions.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 08:57:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-csv/m-p/464590#M140091</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-05-25T08:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: inputlookup csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-csv/m-p/464591#M140092</link>
      <description>&lt;P&gt;index=* sourcetype=csv |search [|inputlookup testing| return 1000 $host]&lt;BR /&gt;
| stats  last(Size) last(Used) last(Use) by host&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 08:57:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-csv/m-p/464591#M140092</guid>
      <dc:creator>keyu921</dc:creator>
      <dc:date>2020-05-25T08:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: inputlookup csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-csv/m-p/464592#M140093</link>
      <description>&lt;P&gt;thanks seems i mix up inputlookup and lookup&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 02:52:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-csv/m-p/464592#M140093</guid>
      <dc:creator>keyu921</dc:creator>
      <dc:date>2020-05-26T02:52:37Z</dc:date>
    </item>
  </channel>
</rss>

