<?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 How to match search with KV lookup files? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-search-with-KV-lookup-files/m-p/431699#M123397</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;
I have a KV file that is auto generated with username using a script running every hour. I want to match the username in the KV file with a different index search. I have written the following query but it is always stuck on "Parsing Job". The index contains a user column. The output should be the username that is common in both user table.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=abc
| search [| inputlookup Leaver_Lookup.kv | fields "User ID" | rename "User ID" as user | dedup user | table user ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 14 Mar 2019 01:17:36 GMT</pubDate>
    <dc:creator>kiranpatil1985</dc:creator>
    <dc:date>2019-03-14T01:17:36Z</dc:date>
    <item>
      <title>How to match search with KV lookup files?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-search-with-KV-lookup-files/m-p/431699#M123397</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I have a KV file that is auto generated with username using a script running every hour. I want to match the username in the KV file with a different index search. I have written the following query but it is always stuck on "Parsing Job". The index contains a user column. The output should be the username that is common in both user table.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=abc
| search [| inputlookup Leaver_Lookup.kv | fields "User ID" | rename "User ID" as user | dedup user | table user ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Mar 2019 01:17:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-search-with-KV-lookup-files/m-p/431699#M123397</guid>
      <dc:creator>kiranpatil1985</dc:creator>
      <dc:date>2019-03-14T01:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to match search with KV lookup files?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-search-with-KV-lookup-files/m-p/431700#M123398</link>
      <description>&lt;P&gt;Is LOOKUP defined?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup &amp;lt;lookup-name&amp;gt; where &amp;lt;eval-expression&amp;gt; | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is this search working?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup Leaver_Lookup.kv | fields "User ID" | rename "User ID" as user | dedup user | table user 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Mar 2019 05:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-search-with-KV-lookup-files/m-p/431700#M123398</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2019-03-14T05:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to match search with KV lookup files?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-match-search-with-KV-lookup-files/m-p/431701#M123399</link>
      <description>&lt;P&gt;Yes that search works.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 06:28:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-match-search-with-KV-lookup-files/m-p/431701#M123399</guid>
      <dc:creator>kiranpatil1985</dc:creator>
      <dc:date>2019-03-14T06:28:38Z</dc:date>
    </item>
  </channel>
</rss>

