<?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 Splunk Find Duplicates Within KV Store And Compare Source in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Find-Duplicates-Within-KV-Store-And-Compare-Source/m-p/517084#M63243</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having problems trying to find duplicate entries within my splunk kvstore. Basically, what I want to do is find duplicates based on a few fields such as FQDN, CVE, and PORT. Then, once I found duplicates I just want to output them in a table if their SOURCE field is different. The query I have so far is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup vul_kvstore
| stats count by fqdn, port, cve
| where count&amp;gt;1
| table fqdn, port, cve, source&lt;/LI-CODE&gt;&lt;P&gt;The problem I have now is in my table I do not have access to the source field as it looks like the stats count line basically pulls out only the fqdn, port, and cve data. How do I get access to the source field data? Maybe I just have to revise my original query so I do not loose data to that field but so far nothing I try works. Hopefully someone can provide me some advise to push me through this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
    <pubDate>Mon, 31 Aug 2020 17:58:58 GMT</pubDate>
    <dc:creator>joemarty82</dc:creator>
    <dc:date>2020-08-31T17:58:58Z</dc:date>
    <item>
      <title>Splunk Find Duplicates Within KV Store And Compare Source</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Find-Duplicates-Within-KV-Store-And-Compare-Source/m-p/517084#M63243</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having problems trying to find duplicate entries within my splunk kvstore. Basically, what I want to do is find duplicates based on a few fields such as FQDN, CVE, and PORT. Then, once I found duplicates I just want to output them in a table if their SOURCE field is different. The query I have so far is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup vul_kvstore
| stats count by fqdn, port, cve
| where count&amp;gt;1
| table fqdn, port, cve, source&lt;/LI-CODE&gt;&lt;P&gt;The problem I have now is in my table I do not have access to the source field as it looks like the stats count line basically pulls out only the fqdn, port, and cve data. How do I get access to the source field data? Maybe I just have to revise my original query so I do not loose data to that field but so far nothing I try works. Hopefully someone can provide me some advise to push me through this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 17:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Find-Duplicates-Within-KV-Store-And-Compare-Source/m-p/517084#M63243</guid>
      <dc:creator>joemarty82</dc:creator>
      <dc:date>2020-08-31T17:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Find Duplicates Within KV Store And Compare Source</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Find-Duplicates-Within-KV-Store-And-Compare-Source/m-p/517092#M63244</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| inputlookup vul_kvstore&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| stats dc(source) as distinct_source_count values(source) as source by fqdn, port, cve&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| where distinct_source_count &amp;gt; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;| table fqdn, port, cve, source&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 18:48:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Find-Duplicates-Within-KV-Store-And-Compare-Source/m-p/517092#M63244</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-08-31T18:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Find Duplicates Within KV Store And Compare Source</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Find-Duplicates-Within-KV-Store-And-Compare-Source/m-p/517107#M63245</link>
      <description>&lt;P&gt;Hey Tham,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the input. However, this will not work because the source field only contains one entry in each kvstore record. Looks like your solution assumes there are more than 1.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 19:48:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Find-Duplicates-Within-KV-Store-And-Compare-Source/m-p/517107#M63245</guid>
      <dc:creator>joemarty82</dc:creator>
      <dc:date>2020-08-31T19:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Find Duplicates Within KV Store And Compare Source</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Find-Duplicates-Within-KV-Store-And-Compare-Source/m-p/517189#M63249</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/55573"&gt;@joemarty82&lt;/a&gt;&amp;nbsp;, can you try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup vul_kvstore
| stats count by source fqdn, port, cve
| where count&amp;gt;1
| table source, fqdn, port, cve&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 01 Sep 2020 08:38:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Find-Duplicates-Within-KV-Store-And-Compare-Source/m-p/517189#M63249</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-09-01T08:38:49Z</dc:date>
    </item>
  </channel>
</rss>

