<?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 list page by user in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-list-page-by-user/m-p/475056#M11018</link>
    <description>&lt;P&gt;If you want the values of pages as a comma separated list use this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|stats values(page) by user delim=","
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you just want a multivalue field, remove &lt;CODE&gt;delim=","&lt;/CODE&gt; from the above list.&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2019 13:27:31 GMT</pubDate>
    <dc:creator>arjunpkishore5</dc:creator>
    <dc:date>2019-11-04T13:27:31Z</dc:date>
    <item>
      <title>How to list page by user</title>
      <link>https://community.splunk.com/t5/Security/How-to-list-page-by-user/m-p/475054#M11016</link>
      <description>&lt;P&gt;I am a bit rusty on my Splunk search basics.&lt;/P&gt;

&lt;P&gt;I have a userstats log. I need to list the values (contentId) for each userId in an exportable table. Basically, I want a list of all pages a user has visited. I want the list displayed by user. I only want the page listed once per user. If two users visit the same page the page needs to be listed for each user. If one user visits the same page twice, it needs to be listed only once for that user.&lt;/P&gt;

&lt;P&gt;OUTPUT&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;user1 | pagexyz,pagewrx,pagetuv
user2 | pageabc,pagedef,pageghi
user3 | ....
user4...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The trouble I have is I want each to page item per user listed only once alphabetically. I don't want to dedup incorrectly and take a page user1 viewed from user2. I am specifying a large list of users hardcoded using a search macro. &lt;/P&gt;

&lt;P&gt;What is the correct command? &lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 13:14:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-list-page-by-user/m-p/475054#M11016</guid>
      <dc:creator>user93</dc:creator>
      <dc:date>2019-11-04T13:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to list page by user</title>
      <link>https://community.splunk.com/t5/Security/How-to-list-page-by-user/m-p/475055#M11017</link>
      <description>&lt;P&gt;try this:&lt;BR /&gt;
&lt;CODE&gt;your search .... | stats values(page_field) as pages by user_field ...&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 13:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-list-page-by-user/m-p/475055#M11017</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-11-04T13:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to list page by user</title>
      <link>https://community.splunk.com/t5/Security/How-to-list-page-by-user/m-p/475056#M11018</link>
      <description>&lt;P&gt;If you want the values of pages as a comma separated list use this.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|stats values(page) by user delim=","
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you just want a multivalue field, remove &lt;CODE&gt;delim=","&lt;/CODE&gt; from the above list.&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 13:27:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-list-page-by-user/m-p/475056#M11018</guid>
      <dc:creator>arjunpkishore5</dc:creator>
      <dc:date>2019-11-04T13:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to list page by user</title>
      <link>https://community.splunk.com/t5/Security/How-to-list-page-by-user/m-p/475057#M11019</link>
      <description>&lt;P&gt;thank you. I was trying the list command and forgot about the values command. &lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 13:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-list-page-by-user/m-p/475057#M11019</guid>
      <dc:creator>user93</dc:creator>
      <dc:date>2019-11-04T13:31:51Z</dc:date>
    </item>
  </channel>
</rss>

