<?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 List almost-duplicates (in a variable?) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/List-almost-duplicates-in-a-variable/m-p/537091#M151818</link>
    <description>&lt;P&gt;Hello.&amp;nbsp; I have a search that results in, amongst other things, fields that are ALMOST duplicates.&amp;nbsp; Example:&lt;/P&gt;&lt;P&gt;Bob: Task incomplete.&lt;/P&gt;&lt;P&gt;Steve: Task Incomplete.&lt;/P&gt;&lt;P&gt;George: Task Incomplete.&lt;/P&gt;&lt;P&gt;Fred: Task Complete.&lt;/P&gt;&lt;P&gt;Spock: Task Complete.&lt;/P&gt;&lt;P&gt;Is there a way to generate a table which results in:&lt;/P&gt;&lt;P&gt;| Task Status&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; Team Player Responsible |&lt;/P&gt;&lt;P&gt;| Task Complete&amp;nbsp; &amp;nbsp; |&amp;nbsp; Fred, Spock&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/P&gt;&lt;P&gt;| Task Incomplete |&amp;nbsp; Bob, Steve, George&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/P&gt;&lt;P&gt;For each instance of "Task Complete" and "Task Incomplete", I want to know which Persons to tag in a simple table without listing every user in a giant list.&lt;/P&gt;&lt;P&gt;I've looked into dedup, uniq and sub-searches but haven't figured out how to list the non-duplicated parts next to a single instance of the duplicated part.&lt;/P&gt;&lt;P&gt;[Insert deity], I hope that made sense.&amp;nbsp; Help?&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2021 18:44:48 GMT</pubDate>
    <dc:creator>djm229</dc:creator>
    <dc:date>2021-01-25T18:44:48Z</dc:date>
    <item>
      <title>List almost-duplicates (in a variable?)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-almost-duplicates-in-a-variable/m-p/537091#M151818</link>
      <description>&lt;P&gt;Hello.&amp;nbsp; I have a search that results in, amongst other things, fields that are ALMOST duplicates.&amp;nbsp; Example:&lt;/P&gt;&lt;P&gt;Bob: Task incomplete.&lt;/P&gt;&lt;P&gt;Steve: Task Incomplete.&lt;/P&gt;&lt;P&gt;George: Task Incomplete.&lt;/P&gt;&lt;P&gt;Fred: Task Complete.&lt;/P&gt;&lt;P&gt;Spock: Task Complete.&lt;/P&gt;&lt;P&gt;Is there a way to generate a table which results in:&lt;/P&gt;&lt;P&gt;| Task Status&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; Team Player Responsible |&lt;/P&gt;&lt;P&gt;| Task Complete&amp;nbsp; &amp;nbsp; |&amp;nbsp; Fred, Spock&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/P&gt;&lt;P&gt;| Task Incomplete |&amp;nbsp; Bob, Steve, George&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&lt;/P&gt;&lt;P&gt;For each instance of "Task Complete" and "Task Incomplete", I want to know which Persons to tag in a simple table without listing every user in a giant list.&lt;/P&gt;&lt;P&gt;I've looked into dedup, uniq and sub-searches but haven't figured out how to list the non-duplicated parts next to a single instance of the duplicated part.&lt;/P&gt;&lt;P&gt;[Insert deity], I hope that made sense.&amp;nbsp; Help?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 18:44:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-almost-duplicates-in-a-variable/m-p/537091#M151818</guid>
      <dc:creator>djm229</dc:creator>
      <dc:date>2021-01-25T18:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: List almost-duplicates (in a variable?)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-almost-duplicates-in-a-variable/m-p/537120#M151823</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230839"&gt;@djm229&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I assumed your usernames and task status is in the same field. If not rex command is unnecessary;&lt;/P&gt;&lt;P&gt;Please try below by updating your &amp;lt;your_field&amp;gt; with field that contains your sample values;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=&amp;lt;your_field&amp;gt; "(?&amp;lt;user&amp;gt;[^:]+):\s(?&amp;lt;task_status&amp;gt;.+)"
| stats values(user) by task_status&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 20:40:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-almost-duplicates-in-a-variable/m-p/537120#M151823</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-01-25T20:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: List almost-duplicates (in a variable?)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-almost-duplicates-in-a-variable/m-p/537289#M151871</link>
      <description>&lt;P&gt;Thanks, I'll have to modify the regex to make it (and the rest of my query) fit together.&amp;nbsp; If it works, I'll tag as "the Solution".&amp;nbsp; Very much appreciate it - even if it doesn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 19:43:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-almost-duplicates-in-a-variable/m-p/537289#M151871</guid>
      <dc:creator>djm229</dc:creator>
      <dc:date>2021-01-26T19:43:09Z</dc:date>
    </item>
  </channel>
</rss>

