<?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: Compare CSV data with Splunk Data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628264#M218242</link>
    <description>&lt;P&gt;Hi, in the CSV file in there is a field.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brand : Puma, Adidas&lt;/P&gt;&lt;P&gt;SplunkEvents&lt;/P&gt;&lt;P&gt;Brand : Puma, Adidas, Nike, Gucci, LV&lt;/P&gt;&lt;P&gt;I want the result as&lt;/P&gt;&lt;P&gt;Brand : Nike, Gucci, LV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 11:11:16 GMT</pubDate>
    <dc:creator>Khuzair81</dc:creator>
    <dc:date>2023-01-25T11:11:16Z</dc:date>
    <item>
      <title>How to compare CSV data with Splunk data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628261#M218239</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please help with the query on how to compare CSV data with Splunk event and get those data in result which is not available in csv.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 15:14:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628261#M218239</guid>
      <dc:creator>Khuzair81</dc:creator>
      <dc:date>2023-01-25T15:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Compare CSV data with Splunk Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628262#M218240</link>
      <description>&lt;P&gt;It depends on what you have in your events and what you have in your csv.&lt;/P&gt;&lt;P&gt;If there is always a field in the csv which isn't in the events, you could use lookup to find all the matching events and where the extra field is null, no match was found.&lt;/P&gt;&lt;P&gt;If all fields in the csv appear in the event fields, you could append the csv with inputlookup and the use stats to count the occurrences of all the fields from the csv and where the count is 1 and the event came from the index search, it is missing from the csv.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 11:00:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628262#M218240</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-01-25T11:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Compare CSV data with Splunk Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628263#M218241</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225651"&gt;@Khuzair81&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I assume you have a lookup as lookup.csv contains src field and trying to compare src field values in your events src field does not exist in lookup.&lt;/P&gt;&lt;P&gt;You can try the below as a sample.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal NOT [|inputlookup lookup.csv | fields src | format]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 11:02:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628263#M218241</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2023-01-25T11:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compare CSV data with Splunk Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628264#M218242</link>
      <description>&lt;P&gt;Hi, in the CSV file in there is a field.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brand : Puma, Adidas&lt;/P&gt;&lt;P&gt;SplunkEvents&lt;/P&gt;&lt;P&gt;Brand : Puma, Adidas, Nike, Gucci, LV&lt;/P&gt;&lt;P&gt;I want the result as&lt;/P&gt;&lt;P&gt;Brand : Nike, Gucci, LV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 11:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628264#M218242</guid>
      <dc:creator>Khuzair81</dc:creator>
      <dc:date>2023-01-25T11:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Compare CSV data with Splunk Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628265#M218243</link>
      <description>&lt;P&gt;With such a simple csv,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;approach is easier.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=&amp;lt;your index&amp;gt; NOT [|inputlookup &amp;lt;your csv&amp;gt; | format]&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 Jan 2023 11:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-compare-CSV-data-with-Splunk-data/m-p/628265#M218243</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-01-25T11:15:51Z</dc:date>
    </item>
  </channel>
</rss>

