<?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 can I get the URL path list, visited by the user navigating through a particular application? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405799#M9794</link>
    <description>&lt;P&gt;@rakeshyv0807, in order to filter unwanted url suffix or retain specific url suffix, you can either create a filter black list or whitelist respectively. It is better to keep this as lookup file in Splunk so that it can be altered/maintained better.&lt;/P&gt;

&lt;P&gt;Following is a run anywhere example which lists &lt;CODE&gt;css,pnj,gif,favicon&lt;/CODE&gt; as balck list and filters out from the search result of URL field using &lt;CODE&gt;NOT&lt;/CODE&gt; keyword&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|  makeresults
|  fields - _time
|  eval URL="https://example.com/abc/index.aspx;https://example.com/abc/region.aspx;https://example.com/abc/static/6bc3661/release/asdf.css;https://example.com/abc/static/6bc3661/release/asdf.gif;https://example.com/abc/static/6bc3661/release/asdfgh.jsp"
|  makemv URL delim=";"
|  mvexpand URL
|  search 
   NOT [| makeresults
    | fields - _time
    | eval filterList="css,pnj,gif,favicon"
    | makemv filterList delim="," 
    | mvexpand filterList
    | eval URL="*.".filterList
    | table URL]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please try out and confirm. The commands from first &lt;CODE&gt;| makeresults&lt;/CODE&gt; till &lt;CODE&gt;| mvexpand URL&lt;/CODE&gt; generates mock data as per the question.&lt;/P&gt;</description>
    <pubDate>Mon, 21 May 2018 21:54:26 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-05-21T21:54:26Z</dc:date>
    <item>
      <title>How can I get the URL path list, visited by the user navigating through a particular application?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405797#M9792</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a requirement where I need to get the list of URL's the user has navigated through while accessing a particular application. I am able to get the list of URL's but I need to exclude some of these URL's which inlcude .css, .png, .gif, .favicon etc. For example I have the following URL's which were associated for a particular user's session. &lt;/P&gt;

&lt;P&gt;&lt;A href="https://example.com/abc/index.aspx"&gt;https://example.com/abc/index.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://example.com/abc/region.aspx"&gt;https://example.com/abc/region.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://example.com/abc/static/6bc3661/release/asdf.css"&gt;https://example.com/abc/static/6bc3661/release/asdf.css&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://example.com/abc/static/6bc3661/release/asdf.gif"&gt;https://example.com/abc/static/6bc3661/release/asdf.gif&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://example.com/abc/static/6bc3661/release/asdfgh.jsp"&gt;https://example.com/abc/static/6bc3661/release/asdfgh.jsp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;What I want to achieve is that I need to display only the following URL's in the results and exclude .css, .gif etc.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://example.com/abc/index.aspx"&gt;https://example.com/abc/index.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://example.com/abc/region.aspx"&gt;https://example.com/abc/region.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://example.com/abc/static/6bc3661/release/asdfgh.jsp"&gt;https://example.com/abc/static/6bc3661/release/asdfgh.jsp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Can some please guide me how I can extract those. &lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 20:39:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405797#M9792</guid>
      <dc:creator>rakeshyv0807</dc:creator>
      <dc:date>2018-05-21T20:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the URL path list, visited by the user navigating through a particular application?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405798#M9793</link>
      <description>&lt;P&gt;Hi  @rakeshyv0807&lt;/P&gt;

&lt;P&gt;If the results are extracted into a field called URL --- use the below search &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search | search URL_Path! = *.css AND URL_Path! = *.gif 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 21:50:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405798#M9793</guid>
      <dc:creator>PowerPacked</dc:creator>
      <dc:date>2018-05-21T21:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the URL path list, visited by the user navigating through a particular application?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405799#M9794</link>
      <description>&lt;P&gt;@rakeshyv0807, in order to filter unwanted url suffix or retain specific url suffix, you can either create a filter black list or whitelist respectively. It is better to keep this as lookup file in Splunk so that it can be altered/maintained better.&lt;/P&gt;

&lt;P&gt;Following is a run anywhere example which lists &lt;CODE&gt;css,pnj,gif,favicon&lt;/CODE&gt; as balck list and filters out from the search result of URL field using &lt;CODE&gt;NOT&lt;/CODE&gt; keyword&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|  makeresults
|  fields - _time
|  eval URL="https://example.com/abc/index.aspx;https://example.com/abc/region.aspx;https://example.com/abc/static/6bc3661/release/asdf.css;https://example.com/abc/static/6bc3661/release/asdf.gif;https://example.com/abc/static/6bc3661/release/asdfgh.jsp"
|  makemv URL delim=";"
|  mvexpand URL
|  search 
   NOT [| makeresults
    | fields - _time
    | eval filterList="css,pnj,gif,favicon"
    | makemv filterList delim="," 
    | mvexpand filterList
    | eval URL="*.".filterList
    | table URL]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please try out and confirm. The commands from first &lt;CODE&gt;| makeresults&lt;/CODE&gt; till &lt;CODE&gt;| mvexpand URL&lt;/CODE&gt; generates mock data as per the question.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 21:54:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405799#M9794</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-05-21T21:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the URL path list, visited by the user navigating through a particular application?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405800#M9795</link>
      <description>&lt;P&gt;Please find below my current query which is extracting URL using eval. Currently I am displaying the list of the URL's with all the suffixes and I want to exclude few suffixes like .css, .gif, .png etc.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="audit" subject=abcd  | eval SUB1=(split(resource," ")),baseurl=mvindex(SUB1,0) | eval URL="https://".baseurl.requestUri | transaction subject| sort _time | streamstats list(timestamp) as time_stamp,list(proxyRoundTripMS) as Application_Responsetime ,list(applicationName) as application,list(URL) as URL_Path by subject, applicationName | table subject, time_stamp, application, URL_Path, Application_Responsetime
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you suggest me how to modify my query to exclude those?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 22:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405800#M9795</guid>
      <dc:creator>rakeshyv0807</dc:creator>
      <dc:date>2018-05-21T22:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the URL path list, visited by the user navigating through a particular application?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405801#M9796</link>
      <description>&lt;P&gt;can you try this search, for some reason this page is trying to take out the wildcards mentioned in the below search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   sourcetype="audit" subject=abcd  | eval SUB1=(split(resource," ")),baseurl=mvindex(SUB1,0) | eval URL="https://".baseurl.requestUri | transaction subject| sort _time | streamstats list(timestamp) as time_stamp,list(proxyRoundTripMS) as Application_Responsetime ,list(applicationName) as application,list(URL) as URL_Path by subject, applicationName | table subject, time_stamp, application, URL_Path, Application_Responsetime | search URL_Path!=*.css AND URL_Path!=*.gif
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 23:19:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405801#M9796</guid>
      <dc:creator>PowerPacked</dc:creator>
      <dc:date>2018-05-21T23:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the URL path list, visited by the user navigating through a particular application?</title>
      <link>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405802#M9797</link>
      <description>&lt;P&gt;@PowerPacked I have tried adding it and it's still not excluding those.&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 13:12:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-can-I-get-the-URL-path-list-visited-by-the-user-navigating/m-p/405802#M9797</guid>
      <dc:creator>rakeshyv0807</dc:creator>
      <dc:date>2018-05-22T13:12:25Z</dc:date>
    </item>
  </channel>
</rss>

