<?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 datamodel - dedup count in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/datamodel-dedup-count/m-p/381085#M3864</link>
    <description>&lt;P&gt;This in regards to vulnerability center from Qualys&lt;/P&gt;

&lt;P&gt;issue - the datamodel gets updated every 24hrs (this cant change)  and when we click in the vulnerability centre we get incorrect numbers. It seems like its counting the number of same vulnerability for the host multiple times which increases the number in the dashboard.  I can search the index and get the correct result but the engineer wants to use the defined dashboard in ES.&lt;/P&gt;

&lt;P&gt;goal - to somehow dedup the count in that datamodel and get the correct asnwer using the datamodel&lt;/P&gt;

&lt;P&gt;datamodal query that gives incorrect info - &lt;BR /&gt;
| tstats &lt;CODE&gt;summariesonly&lt;/CODE&gt; count from datamodel=Vulnerabilities.Vulnerabilities where earliest=-30d@d latest=+0s &lt;CODE&gt;cim_filter_vuln_severity("Vulnerabilities")&lt;/CODE&gt; by Vulnerabilities.signature,Vulnerabilities.dest  &lt;/P&gt;

&lt;P&gt;eg answer:  count should be 1 instead of 8&lt;BR /&gt;
Vulnerabilities.signature                                 Vulnerabilities.dest  count&lt;BR /&gt;
'nlockmgr' Allows Proxying of NFS Requests       172.20.204.14             8&lt;/P&gt;

&lt;P&gt;searching index that gives correct answer - &lt;BR /&gt;
eventtype="qualys_vm_detection_event" STATUS="NEW" OR STATUS="ACTIVE" earliest=-30d@d latest=+0s | dedup QID  |stats count by dest_ip signature&lt;/P&gt;

&lt;P&gt;eg correct answer&lt;BR /&gt;
dest_ip                           signature                                                       count&lt;BR /&gt;
172.20.204.18   'nlockmgr' Allows Proxying of NFS Requests           1&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 23:52:50 GMT</pubDate>
    <dc:creator>siddh01r</dc:creator>
    <dc:date>2020-09-29T23:52:50Z</dc:date>
    <item>
      <title>datamodel - dedup count</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/datamodel-dedup-count/m-p/381085#M3864</link>
      <description>&lt;P&gt;This in regards to vulnerability center from Qualys&lt;/P&gt;

&lt;P&gt;issue - the datamodel gets updated every 24hrs (this cant change)  and when we click in the vulnerability centre we get incorrect numbers. It seems like its counting the number of same vulnerability for the host multiple times which increases the number in the dashboard.  I can search the index and get the correct result but the engineer wants to use the defined dashboard in ES.&lt;/P&gt;

&lt;P&gt;goal - to somehow dedup the count in that datamodel and get the correct asnwer using the datamodel&lt;/P&gt;

&lt;P&gt;datamodal query that gives incorrect info - &lt;BR /&gt;
| tstats &lt;CODE&gt;summariesonly&lt;/CODE&gt; count from datamodel=Vulnerabilities.Vulnerabilities where earliest=-30d@d latest=+0s &lt;CODE&gt;cim_filter_vuln_severity("Vulnerabilities")&lt;/CODE&gt; by Vulnerabilities.signature,Vulnerabilities.dest  &lt;/P&gt;

&lt;P&gt;eg answer:  count should be 1 instead of 8&lt;BR /&gt;
Vulnerabilities.signature                                 Vulnerabilities.dest  count&lt;BR /&gt;
'nlockmgr' Allows Proxying of NFS Requests       172.20.204.14             8&lt;/P&gt;

&lt;P&gt;searching index that gives correct answer - &lt;BR /&gt;
eventtype="qualys_vm_detection_event" STATUS="NEW" OR STATUS="ACTIVE" earliest=-30d@d latest=+0s | dedup QID  |stats count by dest_ip signature&lt;/P&gt;

&lt;P&gt;eg correct answer&lt;BR /&gt;
dest_ip                           signature                                                       count&lt;BR /&gt;
172.20.204.18   'nlockmgr' Allows Proxying of NFS Requests           1&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:52:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/datamodel-dedup-count/m-p/381085#M3864</guid>
      <dc:creator>siddh01r</dc:creator>
      <dc:date>2020-09-29T23:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: datamodel - dedup count</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/datamodel-dedup-count/m-p/381086#M3865</link>
      <description>&lt;P&gt;meh.. I kinda disagree.&lt;BR /&gt;
Enterprise Security is tracking your security posture across time. If you do a weekly scan and you fixed a load of vulns last week you want to see that number decrease, likewise if you find a load more issues this week ES wants to know that too.&lt;/P&gt;

&lt;P&gt;I know this sounds a bit counter intuitive, but ES is tracking total vulns 'DETECTED' not unique vulns that exist. Its a subtlety which is related to how often you scan your hosts, but deduping this is not what ES or the correlation searches or notable events expects.&lt;/P&gt;

&lt;P&gt;If you want to see total unique vulns per host (which is what you appear to be distilling this to) then you should create your own report/dashboard.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 10:47:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/datamodel-dedup-count/m-p/381086#M3865</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-27T10:47:47Z</dc:date>
    </item>
  </channel>
</rss>

