<?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 How to search for Request Mapping in the Rest URLs logging in the log file in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-for-Request-Mapping-in-the-Rest-URLs-logging-in/m-p/41404#M69924</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
We have developed rest web services and have lot of clients who consumes these service.&lt;BR /&gt;
We are logging all the Rest URLs which are calling by different clients in the log file.&lt;BR /&gt;
Now we are planning to get the count of each web service based on the request mapping in the URL.&lt;/P&gt;

&lt;P&gt;for eg:  our URL format is&lt;BR /&gt;
httpUrl=&lt;A href="http://hostname:portno/cbs/v2/fis/KI3325/fiCustomer/c0a8f2a000006cbc45146d2816dfgg900/accounts/WYtEBQH5ALEUprOxwjFNMDb0tG0W1NBCZVO77Dq0Wdg/checkImages?sessionId=123"&gt;http://hostname:portno/cbs/v2/fis/KI3325/fiCustomer/c0a8f2a000006cbc45146d2816dfgg900/accounts/WYtEBQH5ALEUprOxwjFNMDb0tG0W1NBCZVO77Dq0Wdg/checkImages?sessionId=123&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I am thinking of getting this web service invocations count using /checkImages.&lt;/P&gt;

&lt;P&gt;Can any one post some ideas on how best I can handle this?&lt;/P&gt;</description>
    <pubDate>Wed, 22 Aug 2012 00:34:18 GMT</pubDate>
    <dc:creator>kodali21055</dc:creator>
    <dc:date>2012-08-22T00:34:18Z</dc:date>
    <item>
      <title>How to search for Request Mapping in the Rest URLs logging in the log file</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-for-Request-Mapping-in-the-Rest-URLs-logging-in/m-p/41404#M69924</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
We have developed rest web services and have lot of clients who consumes these service.&lt;BR /&gt;
We are logging all the Rest URLs which are calling by different clients in the log file.&lt;BR /&gt;
Now we are planning to get the count of each web service based on the request mapping in the URL.&lt;/P&gt;

&lt;P&gt;for eg:  our URL format is&lt;BR /&gt;
httpUrl=&lt;A href="http://hostname:portno/cbs/v2/fis/KI3325/fiCustomer/c0a8f2a000006cbc45146d2816dfgg900/accounts/WYtEBQH5ALEUprOxwjFNMDb0tG0W1NBCZVO77Dq0Wdg/checkImages?sessionId=123"&gt;http://hostname:portno/cbs/v2/fis/KI3325/fiCustomer/c0a8f2a000006cbc45146d2816dfgg900/accounts/WYtEBQH5ALEUprOxwjFNMDb0tG0W1NBCZVO77Dq0Wdg/checkImages?sessionId=123&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I am thinking of getting this web service invocations count using /checkImages.&lt;/P&gt;

&lt;P&gt;Can any one post some ideas on how best I can handle this?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2012 00:34:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-for-Request-Mapping-in-the-Rest-URLs-logging-in/m-p/41404#M69924</guid>
      <dc:creator>kodali21055</dc:creator>
      <dc:date>2012-08-22T00:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for Request Mapping in the Rest URLs logging in the log file</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-for-Request-Mapping-in-the-Rest-URLs-logging-in/m-p/41405#M69925</link>
      <description>&lt;P&gt;Assuming you have httpUrl field and that i properly understood your question:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex field=httpUrl ".*/(?&amp;lt;services_invocations&amp;gt;.*)\?.*" | stats count by services_invocations
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Aug 2012 06:41:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-for-Request-Mapping-in-the-Rest-URLs-logging-in/m-p/41405#M69925</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-08-22T06:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for Request Mapping in the Rest URLs logging in the log file</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-for-Request-Mapping-in-the-Rest-URLs-logging-in/m-p/41406#M69926</link>
      <description>&lt;P&gt;HI, &lt;BR /&gt;
Yes, we do have a field name httpUrl in the log file.&lt;BR /&gt;
But I have tried your syntax, but it is not giving correct result.  Can you please elaborate more on your answer by taking the below example URL&lt;/P&gt;

&lt;P&gt;httpUrl=&lt;A href="http://hostname:portno/cbs/v2/fis/KI3325/fiCustomer/c0a8f2a000006cbc45146d2816dfgg900/accounts/WYtEBQH5ALEUprOxwjFNMDb0tG0W1NBCZVO77Dq0Wdg/checkImages?sessionId=123"&gt;http://hostname:portno/cbs/v2/fis/KI3325/fiCustomer/c0a8f2a000006cbc45146d2816dfgg900/accounts/WYtEBQH5ALEUprOxwjFNMDb0tG0W1NBCZVO77Dq0Wdg/checkImages?sessionId=123&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please provide more details.  Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2012 06:55:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-for-Request-Mapping-in-the-Rest-URLs-logging-in/m-p/41406#M69926</guid>
      <dc:creator>kodali21055</dc:creator>
      <dc:date>2012-08-22T06:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to search for Request Mapping in the Rest URLs logging in the log file</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-for-Request-Mapping-in-the-Rest-URLs-logging-in/m-p/41407#M69927</link>
      <description>&lt;P&gt;this is just simply extracting a new field services_invocations with a regex on the original field httpUrl;then stats count on this new field...&lt;BR /&gt;
you might need to adjust the regex.&lt;BR /&gt;
I am not sure what more details you need...&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2012 07:16:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-for-Request-Mapping-in-the-Rest-URLs-logging-in/m-p/41407#M69927</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-08-22T07:16:40Z</dc:date>
    </item>
  </channel>
</rss>

