<?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: Need to remove duplicate data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559815#M159061</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236302"&gt;@shashi584&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;which kind of wrong results have you?&lt;/P&gt;&lt;P&gt;with the above search you have all the dv_numbers where there are the following conditions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;only one dv_incident_state,&lt;/LI&gt;&lt;LI&gt;dv_incident_state is "Active"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;these are the conditions you requested.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jul 2021 14:33:37 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2021-07-16T14:33:37Z</dc:date>
    <item>
      <title>Need to remove duplicate data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559103#M158838</link>
      <description>&lt;P&gt;We have 3 different (Active,Closed,Resolved) records for same Incident and we need to retrieve only Active incident record and Incident shouldn't have any other status records such as Closed,Resolved.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shashi584_0-1626101590120.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15046i8E748E21BC0E1FAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shashi584_0-1626101590120.png" alt="shashi584_0-1626101590120.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below query is still showing Active Incident record, however Incident is already in resolved status...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index="snow" sourcetype="snow:incident" source="&lt;A href="https://dell.service-now.com/" target="_blank" rel="noopener"&gt;https://dell.service-now.com/&lt;/A&gt;"&lt;BR /&gt;dv_assignment_group = "ITOPS-DCE-SELLER-SUPPORT"&lt;BR /&gt;dv_u_cim_true="true"&lt;BR /&gt;| where like(dv_incident_state,"Active") AND NOT like (dv_incident_state,"Resolved") AND NOT like (dv_incident_state,"Closed")&lt;BR /&gt;| dedup dv_incident_state&lt;BR /&gt;| stats count by dv_incident_state, dv_number,dv_active&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 14:58:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559103#M158838</guid>
      <dc:creator>shashi584</dc:creator>
      <dc:date>2021-07-12T14:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need to remove duplicate data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559105#M158839</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236302"&gt;@shashi584&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="snow" sourcetype="snow:incident" source="https://dell.service-now.com/"
dv_assignment_group = "ITOPS-DCE-SELLER-SUPPORT"
dv_u_cim_true="true"
| stats dc(dv_incident_state) AS dc_incident_state values(dv_incident_state) AS dv_incident_state BY dv_number
| where dc_incident_state=1  AND dv_incident_state="Active"
| table dv_number dv_incident_state &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 15:10:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559105#M158839</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-07-12T15:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need to remove duplicate data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559782#M159048</link>
      <description>&lt;P&gt;still getting incorrect data:(&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 09:50:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559782#M159048</guid>
      <dc:creator>shashi584</dc:creator>
      <dc:date>2021-07-16T09:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to remove duplicate data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559815#M159061</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236302"&gt;@shashi584&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;which kind of wrong results have you?&lt;/P&gt;&lt;P&gt;with the above search you have all the dv_numbers where there are the following conditions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;only one dv_incident_state,&lt;/LI&gt;&lt;LI&gt;dv_incident_state is "Active"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;these are the conditions you requested.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 14:33:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559815#M159061</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-07-16T14:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need to remove duplicate data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559827#M159067</link>
      <description>&lt;P&gt;Don't know how but surprisingly it's working now using below query.. Thanks for your help..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index="snow" sourcetype="snow:incident" source="&lt;A href="https://dell.service-now.com/" target="_blank"&gt;https://dell.service-now.com/&lt;/A&gt;"&lt;BR /&gt;dv_assignment_group = "ITOPS-DCE-SELLER-SUPPORT"&lt;BR /&gt;dv_u_cim_true="true" dv_active="true"&lt;BR /&gt;| where like(dv_incident_state,"Active") AND NOT like (dv_incident_state,"Resolved") AND NOT like (dv_incident_state,"Closed")&lt;BR /&gt;| dedup dv_incident_state&lt;BR /&gt;| stats count by dv_incident_state, dv_number,dv_active&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 15:14:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559827#M159067</guid>
      <dc:creator>shashi584</dc:creator>
      <dc:date>2021-07-16T15:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need to remove duplicate data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559830#M159070</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236302"&gt;@shashi584&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;did you tried to understand why my one isn't working?&lt;/P&gt;&lt;P&gt;It seems to be correct and simpler than your.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 15:22:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559830#M159070</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-07-16T15:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need to remove duplicate data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559844#M159079</link>
      <description>&lt;P&gt;We have two different Assignment groups (ITOPS-DCE-SELLER-MONITORING and&amp;nbsp;ITOPS-DCE-SELLER-SUPPORT), with your query can see only active Incidents but assignment group is "ITOPS-DCE-SELLER-MONITORING" even though we included (dv_assignment_group = "ITOPS-DCE-SELLER-SUPPORT").. No idea why it's still not working&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index="snow" sourcetype="snow:incident" source="&lt;A href="https://dell.service-now.com/" target="_blank"&gt;https://dell.service-now.com/&lt;/A&gt;"&lt;BR /&gt;dv_assignment_group = "ITOPS-DCE-SELLER-SUPPORT"&lt;BR /&gt;dv_u_cim_true="true"&lt;BR /&gt;| stats dc(dv_incident_state) AS dc_incident_state values(dv_incident_state) AS dv_incident_state BY dv_number&lt;BR /&gt;| where dc_incident_state=1 AND dv_incident_state="Active"&lt;BR /&gt;| table dv_number dv_incident_state&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 16:34:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-to-remove-duplicate-data/m-p/559844#M159079</guid>
      <dc:creator>shashi584</dc:creator>
      <dc:date>2021-07-16T16:34:58Z</dc:date>
    </item>
  </channel>
</rss>

