<?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: Search for Access Page Tracking in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43225#M10171</link>
    <description>&lt;P&gt;Is there any other way without using transaction command? I think there is a event count limitation that transaction command can handle...?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2013 00:27:53 GMT</pubDate>
    <dc:creator>melonman</dc:creator>
    <dc:date>2013-03-15T00:27:53Z</dc:date>
    <item>
      <title>Search for Access Page Tracking</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43220#M10166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I think this is similar case as user URL tracking on web sites, &lt;BR /&gt;
and I am trying to track what page a user have visited. &lt;/P&gt;

&lt;P&gt;Here is my log (simplified). &lt;BR /&gt;
This includes user, previous page, current page and timestamp in unix time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1361836690 user=u01 action=move prev=p1 current=p2
1361836690 user=u02 action=move prev=p2 current=p4
1361836691 user=u01 action=move prev=p2 current=p3
1361836691 user=u02 action=move prev=p5 current=p6
1361836691 user=u03 action=move prev=p2 current=p1
1361836692 user=u02 action=move prev=p5 current=p6
1361836693 user=u03 action=move prev=p1 current=p3
1361836696 user=u01 action=move prev=p3 current=p4
1361836698 user=u03 action=move prev=p3 current=p4
1361836699 user=u03 action=move prev=p5 current=p6
1361836708 user=u03 action=move prev=p6 current=p1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I want to do is to list which page a user has visited by connecting prev in a event and current in the next latest event that matches to prev value in a last event.&lt;/P&gt;

&lt;P&gt;I think SQL can query such information, but I need to do this by Splunk Language.&lt;/P&gt;

&lt;P&gt;I would like to get some help with this from anyone who knows this type of search.&lt;/P&gt;

&lt;P&gt;Thank you in advance, &lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 00:18:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43220#M10166</guid>
      <dc:creator>melonman</dc:creator>
      <dc:date>2013-02-26T00:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Access Page Tracking</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43221#M10167</link>
      <description>&lt;P&gt;Rephrasing my question, is there any way to do self join by Splunk Language?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2013 23:33:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43221#M10167</guid>
      <dc:creator>melonman</dc:creator>
      <dc:date>2013-03-05T23:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Access Page Tracking</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43222#M10168</link>
      <description>&lt;P&gt;Hey Melonman,&lt;/P&gt;

&lt;P&gt;Just a little bit more information if you could.  Are you wanting to do the self join on the user value or on the prev and current values...There is a selfjoin search function within splunk and more info can be found at:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/Selfjoin"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/Selfjoin&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Vince&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2013 00:23:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43222#M10168</guid>
      <dc:creator>vincesesto</dc:creator>
      <dc:date>2013-03-06T00:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Access Page Tracking</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43223#M10169</link>
      <description>&lt;P&gt;How about this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=atype
| eval t=_time 
| convert ctime(t) 
| eval a="(".t.") ".prev."-&amp;gt;".current 
| eval p=prev.",".current 
| makemv delim="," p 
| transaction user p 
| table user a


user              a
---- ----------------------------
u01  (02/26/2013 08:58:10) p1-&amp;gt;p2
     (02/26/2013 08:58:11) p2-&amp;gt;p3
     (02/26/2013 08:58:16) p3-&amp;gt;p4

u02  (02/26/2013 08:58:11) p5-&amp;gt;p6
     (02/26/2013 08:58:12) p5-&amp;gt;p6

u02  (02/26/2013 08:58:10) p2-&amp;gt;p4

u03  (02/26/2013 08:58:19) p5-&amp;gt;p6
     (02/26/2013 08:58:28) p6-&amp;gt;p1

u03  (02/26/2013 08:58:11) p2-&amp;gt;p1
     (02/26/2013 08:58:13) p1-&amp;gt;p3
     (02/26/2013 08:58:18) p3-&amp;gt;p4
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Mar 2013 00:12:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43223#M10169</guid>
      <dc:creator>Splunk_Shinobi</dc:creator>
      <dc:date>2013-03-15T00:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Access Page Tracking</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43224#M10170</link>
      <description>&lt;P&gt;I want to connect/join on prev and current values. I am trying to figure out how to use selfjoin command to a pair of keys in a separated events.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 00:17:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43224#M10170</guid>
      <dc:creator>melonman</dc:creator>
      <dc:date>2013-03-15T00:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search for Access Page Tracking</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43225#M10171</link>
      <description>&lt;P&gt;Is there any other way without using transaction command? I think there is a event count limitation that transaction command can handle...?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 00:27:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-for-Access-Page-Tracking/m-p/43225#M10171</guid>
      <dc:creator>melonman</dc:creator>
      <dc:date>2013-03-15T00:27:53Z</dc:date>
    </item>
  </channel>
</rss>

