<?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: Parsing and grouping with in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Parsing-and-grouping-with/m-p/17882#M2532</link>
    <description>&lt;P&gt;You need to extract "Service" field from raw string. Regarding how to extact the field, you can see following. Hope this help &lt;BR /&gt;
:-)&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/InteractiveFieldExtractionExample"&gt;http://docs.splunk.com/Documentation/Splunk/latest/User/InteractiveFieldExtractionExample&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2011 07:32:36 GMT</pubDate>
    <dc:creator>Takajian</dc:creator>
    <dc:date>2011-11-17T07:32:36Z</dc:date>
    <item>
      <title>Parsing and grouping with</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parsing-and-grouping-with/m-p/17879#M2529</link>
      <description>&lt;P&gt;I am trying to find an hourly count of the content in Apache access log. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;10.113.76.13 - - [16/Nov/2011:17:13:59 -0800] 0 "POST /ApacheApp/default/GetCustomers/1.0 HTTP/1.1" 200 2360
10.113.76.13 - - [16/Nov/2011:17:13:51 -0800] 0 "POST /ApacheApp/default/GetLicenseInfo/1.0 HTTP/1.1" 500 1141
    10.113.76.13 - - [16/Nov/2011:17:14:59 -0800] 0 "POST /ApacheApp/default/GetCustomers/1.0 HTTP/1.1" 200 2360
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to count frequency of each POST operation string in the following format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    Hour                                 Service                         Count
1/15/11 5:00:00.000             /default/GetCustomers/1.0                   2
1/15/11 5:00:00.000             /default/GetLicenseInfo/1.0                 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried using timechart option, but I am unsure of how to group these by the pattern in addition to the hour. Does anyone have any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 02:03:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parsing-and-grouping-with/m-p/17879#M2529</guid>
      <dc:creator>ajitsd</dc:creator>
      <dc:date>2011-11-17T02:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing and grouping with</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parsing-and-grouping-with/m-p/17880#M2530</link>
      <description>&lt;P&gt;Is the following command for your requirement? If you want to change time span, please use span option of timechart command. 1h means 1hours. 30m means 30 minutes. Hope this help.&lt;/P&gt;

&lt;P&gt;sourcetype="YourSourcetype" | timechart span=1h count by Service&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 05:05:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parsing-and-grouping-with/m-p/17880#M2530</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2011-11-17T05:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing and grouping with</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parsing-and-grouping-with/m-p/17881#M2531</link>
      <description>&lt;P&gt;I had done the same query you have mentioned.  My main question was about how to extract the "Service" from the raw string?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 06:06:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parsing-and-grouping-with/m-p/17881#M2531</guid>
      <dc:creator>ajitsd</dc:creator>
      <dc:date>2011-11-17T06:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing and grouping with</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Parsing-and-grouping-with/m-p/17882#M2532</link>
      <description>&lt;P&gt;You need to extract "Service" field from raw string. Regarding how to extact the field, you can see following. Hope this help &lt;BR /&gt;
:-)&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/InteractiveFieldExtractionExample"&gt;http://docs.splunk.com/Documentation/Splunk/latest/User/InteractiveFieldExtractionExample&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 07:32:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Parsing-and-grouping-with/m-p/17882#M2532</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2011-11-17T07:32:36Z</dc:date>
    </item>
  </channel>
</rss>

