<?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: How to use dedup on a field, but aggregate all other values in another field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-dedup-on-a-field-but-aggregate-all-other-values-in/m-p/223612#M65834</link>
    <description>&lt;P&gt;Note that list won't do dedup on URLs, you can use values instead if you want this to happen:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputcsv mycsv.csv
| stats values(URLS) as URLS by User
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 12 Jan 2016 17:03:40 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2016-01-12T17:03:40Z</dc:date>
    <item>
      <title>How to use dedup on a field, but aggregate all other values in another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-dedup-on-a-field-but-aggregate-all-other-values-in/m-p/223610#M65832</link>
      <description>&lt;P&gt;I am running a search to identify all users and the URLs they have connected to. The result includes duplicate users, but different URLs. I would like to dedup the users field, but have it list all URLs each user as connected to.&lt;/P&gt;

&lt;P&gt;The results currently look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;User       URLS
Mak        Cnn.com
Mak        Google.com
Mak        Yahoo.com
Bam        Aljazeera.com
Bam        BBC.com
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like it to look like this;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;User       URLS
Mak        Cnn.com
           Google.com
           Yahoo.com
Bam        Aljazeera.com
           BBC.com
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I hope this makes sense.&lt;/P&gt;

&lt;P&gt;The current search is &lt;CODE&gt;.... | table user src_user&lt;/CODE&gt;. If I use the dedup value against the src_user, I lose all the URLs except for one that associates with each user returned in the dedup function.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 16:42:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-dedup-on-a-field-but-aggregate-all-other-values-in/m-p/223610#M65832</guid>
      <dc:creator>Presh</dc:creator>
      <dc:date>2016-01-12T16:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dedup on a field, but aggregate all other values in another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-dedup-on-a-field-but-aggregate-all-other-values-in/m-p/223611#M65833</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| yourquery
| stats list(URLS) as URLS by User
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jan 2016 17:02:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-dedup-on-a-field-but-aggregate-all-other-values-in/m-p/223611#M65833</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-01-12T17:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dedup on a field, but aggregate all other values in another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-dedup-on-a-field-but-aggregate-all-other-values-in/m-p/223612#M65834</link>
      <description>&lt;P&gt;Note that list won't do dedup on URLs, you can use values instead if you want this to happen:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputcsv mycsv.csv
| stats values(URLS) as URLS by User
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jan 2016 17:03:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-dedup-on-a-field-but-aggregate-all-other-values-in/m-p/223612#M65834</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-01-12T17:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to use dedup on a field, but aggregate all other values in another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-dedup-on-a-field-but-aggregate-all-other-values-in/m-p/223613#M65835</link>
      <description>&lt;P&gt;Thanks Javiergn, it works.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 20:30:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-dedup-on-a-field-but-aggregate-all-other-values-in/m-p/223613#M65835</guid>
      <dc:creator>Presh</dc:creator>
      <dc:date>2016-01-12T20:30:58Z</dc:date>
    </item>
  </channel>
</rss>

