<?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 top products in the following events? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162244#M45959</link>
    <description>&lt;P&gt;Thanks a lot, I have tried field extraction and it worked perfectly&lt;/P&gt;</description>
    <pubDate>Fri, 19 Dec 2014 12:44:41 GMT</pubDate>
    <dc:creator>ansbilal</dc:creator>
    <dc:date>2014-12-19T12:44:41Z</dc:date>
    <item>
      <title>How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162229#M45944</link>
      <description>&lt;P&gt;My events looks like following with last 8 digits are the item no&lt;/P&gt;

&lt;P&gt;2014-11-28 00:10:21.446 INFO 10.86.66.147 &lt;A href="https://community.splunk.com/2921"&gt;KiCartonableFlagOperator&lt;/A&gt; Order 00000000000018266928 is not cartonable because of packing rule is defined for item &lt;STRONG&gt;WaPMxJNx&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;2014-11-28 00:10:21.435 INFO 10.86.66.147 &lt;A href="https://community.splunk.com/2921"&gt;KiCartonableFlagOperator&lt;/A&gt; Order 00000000000018267047 is not cartonable because of packing rule is defined for item &lt;STRONG&gt;eFrNP/Ry&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;My base search is &lt;BR /&gt;
"is not cartonable"&lt;/P&gt;

&lt;P&gt;so aim is to get all events which container "is not cartonable" and get either the count of products or top products out of those events&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 11:10:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162229#M45944</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T11:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162230#M45945</link>
      <description>&lt;P&gt;try this&lt;BR /&gt;
your search|rex field=_raw ".&lt;EM&gt;is not cartonable.&lt;/EM&gt;(?&amp;lt;item&amp;gt;\d{8})."|chart count by item&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 11:25:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162230#M45945</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2014-12-19T11:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162231#M45946</link>
      <description>&lt;P&gt;Thanks kml_uvce:&lt;BR /&gt;
I did in search the following as you said&lt;/P&gt;

&lt;P&gt;is not cartonable|rex field=_raw ".is not cartonable.(?d{8})"|chart count by item&lt;/P&gt;

&lt;P&gt;but i get an error&lt;BR /&gt;
Error in 'rex' command: Encountered the following error while compiling the regex '.is not cartonable.(?d{8})': Regex: unrecognized character after (? or (?- &lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 11:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162231#M45946</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T11:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162232#M45947</link>
      <description>&lt;P&gt;its printing problem put "*" after both "." and "backslash" before d&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 11:54:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162232#M45947</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2014-12-19T11:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162233#M45948</link>
      <description>&lt;P&gt;Thanks for helping, now i get this error&lt;BR /&gt;
Error in 'rex' command: Encountered the following error while compiling the regex '&lt;EM&gt;.is not cartonable.&lt;/EM&gt;(?\d{8})': Regex: nothing to repeat &lt;/P&gt;

&lt;P&gt;does that mean there is nothing duplicate item??&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 11:59:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162233#M45948</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T11:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162234#M45949</link>
      <description>&lt;P&gt;sorry I am really new to splunk&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:00:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162234#M45949</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T12:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162235#M45950</link>
      <description>&lt;P&gt;there are printing problem , i changed ans. above and you can put "*" after both "." and "backslash" before d&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:02:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162235#M45950</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2014-12-19T12:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162236#M45951</link>
      <description>&lt;P&gt;My search is now&lt;BR /&gt;
is not cartonable|rex field=_raw ".&lt;EM&gt;is not cartonable.&lt;/EM&gt;(?\d{8})"|chart count by item&lt;/P&gt;

&lt;P&gt;I get an error&lt;/P&gt;

&lt;P&gt;Error in 'rex' command: Encountered the following error while compiling the regex '.&lt;EM&gt;is not cartonable.&lt;/EM&gt;(?\d{8})': Regex: unrecognized character after (? or (?- &lt;/P&gt;

&lt;P&gt;I think its not recognizing "\"&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:08:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162236#M45951</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T12:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162237#M45952</link>
      <description>&lt;P&gt;I did put "*" after each "." as well&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:09:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162237#M45952</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T12:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162238#M45953</link>
      <description>&lt;P&gt;have you put backslash before d?&lt;BR /&gt;
and also pls see new changes in above query&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:13:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162238#M45953</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2014-12-19T12:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162239#M45954</link>
      <description>&lt;P&gt;yes i have changed the query and added "*" and "backslash" as you said&lt;/P&gt;

&lt;P&gt;is not cartonable|rex field=_raw ".&lt;EM&gt;is not cartonable.&lt;/EM&gt;(?\d{8})"|chart count by item&lt;/P&gt;

&lt;P&gt;Its not in error now but showing &lt;BR /&gt;
Item count&lt;BR /&gt;
true   18&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:22:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162239#M45954</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T12:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162240#M45955</link>
      <description>&lt;P&gt;i think search for events should be&lt;BR /&gt;
"packing rule is defined"&lt;BR /&gt;
do i need to change anything in rex query ?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:28:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162240#M45955</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T12:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162241#M45956</link>
      <description>&lt;P&gt;Events with "packing rule is defined" are&lt;BR /&gt;
 like&lt;/P&gt;

&lt;P&gt;2014-11-28 00:10:21.446 INFO 10.86.66.147 &lt;A href="https://community.splunk.com/2921"&gt;KiCartonableFlagOperator&lt;/A&gt; Order 00000000000018266928 is not cartonable because of packing rule is defined for item WaPMxJNx.&lt;/P&gt;

&lt;P&gt;2014-11-28 00:10:21.435 INFO 10.86.66.147 &lt;A href="https://community.splunk.com/2921"&gt;KiCartonableFlagOperator&lt;/A&gt; Order 00000000000018267047 is not cartonable because of packing rule is defined for item eFrNP/Ry.&lt;/P&gt;

&lt;P&gt;2014-11-28 00:10:21.422 INFO 10.86.66.147 &lt;A href="https://community.splunk.com/2921"&gt;KiCartonableFlagOperator&lt;/A&gt; Order 00000000000018273230 is not cartonable because of packing rule is defined for item T1C3nrEz.&lt;/P&gt;

&lt;P&gt;2014-11-28 00:10:21.415 INFO 10.86.66.147 &lt;A href="https://community.splunk.com/2921"&gt;KiCartonableFlagOperator&lt;/A&gt; Order 00000000000018274966 is not cartonable because of packing rule is defined for item tkP3KYwu.&lt;/P&gt;

&lt;P&gt;2014-11-28 00:10:21.412 INFO 10.86.66.147 &lt;A href="https://community.splunk.com/2921"&gt;KiCartonableFlagOperator&lt;/A&gt; Order 00000000000018267099 is not cartonable because of packing rule is defined for item FWjgQ7Vy.&lt;/P&gt;

&lt;P&gt;2014-11-28 00:10:21.411 INFO 10.86.66.147 &lt;A href="https://community.splunk.com/2921"&gt;KiCartonableFlagOperator&lt;/A&gt; Order 00000000000018273217 is not cartonable because of packing rule is defined for item McEbo7ry.&lt;/P&gt;

&lt;P&gt;2014-11-28 00:10:21.390 INFO 10.86.66.147 &lt;A href="https://community.splunk.com/2921"&gt;KiCartonableFlagOperator&lt;/A&gt; Order 00000000000018274953 is not cartonable because of packing rule is defined for item 7o11ZiQx.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:31:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162241#M45956</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T12:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162242#M45957</link>
      <description>&lt;P&gt;see i think its coming because of there is . in the end there is some printing prob so we r facing issue ,you can use another method ,search&lt;BR /&gt;
"your search" "is not cartonable" and then extract field item &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;BR /&gt;
and then &lt;BR /&gt;
"your search" "is not cartonable"|chart count by item&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:33:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162242#M45957</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2014-12-19T12:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162243#M45958</link>
      <description>&lt;P&gt;you can use rex also and replace d with w in query . i thought its 8 digit as you mentioned earlier but its character.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162243#M45958</guid>
      <dc:creator>kml_uvce</dc:creator>
      <dc:date>2014-12-19T12:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162244#M45959</link>
      <description>&lt;P&gt;Thanks a lot, I have tried field extraction and it worked perfectly&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162244#M45959</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T12:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the top products in the following events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162245#M45960</link>
      <description>&lt;P&gt;also worked with replacing d with w&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2014 12:48:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-get-the-top-products-in-the-following-events/m-p/162245#M45960</guid>
      <dc:creator>ansbilal</dc:creator>
      <dc:date>2014-12-19T12:48:05Z</dc:date>
    </item>
  </channel>
</rss>

