<?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: unique within each group in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589657#M205315</link>
    <description>&lt;P&gt;Since I wanted to know the flow of data from one sourcetype to another sourcetype.&amp;nbsp; Apparently, in my case, the data after existing a sourcetype can re enter the sourcetype at a later point of time.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2022 09:59:03 GMT</pubDate>
    <dc:creator>msg4sunil</dc:creator>
    <dc:date>2022-03-18T09:59:03Z</dc:date>
    <item>
      <title>How do I get unique within each group?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589648#M205308</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;
&lt;P&gt;Can you please help me with the splunk query for the below?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Splunk query returns the below&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;1
1
1
2
2
2
3
1
1
3
1&lt;/PRE&gt;
&lt;P&gt;How do I&amp;nbsp;get the below( unique within each group)?&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;1
2
3
1&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Mar 2022 15:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589648#M205308</guid>
      <dc:creator>msg4sunil</dc:creator>
      <dc:date>2022-03-18T15:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: unique within each group</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589650#M205309</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244042"&gt;@msg4sunil&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;use&lt;BR /&gt;&lt;BR /&gt;values(fieldname1) by&amp;nbsp;fieldname2&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 09:49:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589650#M205309</guid>
      <dc:creator>SanjayReddy</dc:creator>
      <dc:date>2022-03-18T09:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: unique within each group</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589653#M205311</link>
      <description>&lt;P&gt;How did you get this result?&lt;/P&gt;&lt;P&gt;Why is 1 still repeated in your required result?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 09:52:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589653#M205311</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-18T09:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: unique within each group</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589655#M205313</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236694"&gt;@SanjayReddy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please clarify as how do I use&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;values(fieldname1) by&amp;nbsp;fieldname2?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;My original query is&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;index=*|table sourcetype&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Mar 2022 09:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589655#M205313</guid>
      <dc:creator>msg4sunil</dc:creator>
      <dc:date>2022-03-18T09:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: unique within each group</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589656#M205314</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=*|table sourcetype|dedup sourcetype&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 18 Mar 2022 09:58:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589656#M205314</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-18T09:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: unique within each group</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589657#M205315</link>
      <description>&lt;P&gt;Since I wanted to know the flow of data from one sourcetype to another sourcetype.&amp;nbsp; Apparently, in my case, the data after existing a sourcetype can re enter the sourcetype at a later point of time.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 09:59:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589657#M205315</guid>
      <dc:creator>msg4sunil</dc:creator>
      <dc:date>2022-03-18T09:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: unique within each group</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589659#M205317</link>
      <description>&lt;P&gt;Sorry, I cant be using dedup, since that doesn't solve my purpose.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 10:00:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589659#M205317</guid>
      <dc:creator>msg4sunil</dc:creator>
      <dc:date>2022-03-18T10:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: unique within each group</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589663#M205319</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=*
| table sourcetype
| streamstats current=f window=2 last(sourcetype) as previous_sourcetype
| where sourcetype != previous_sourcetype&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 18 Mar 2022 10:19:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589663#M205319</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-18T10:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: unique within each group</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589667#M205321</link>
      <description>&lt;P&gt;Wow. Amazing. Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 10:30:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-unique-within-each-group/m-p/589667#M205321</guid>
      <dc:creator>msg4sunil</dc:creator>
      <dc:date>2022-03-18T10:30:46Z</dc:date>
    </item>
  </channel>
</rss>

