<?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: print the error code count in Security</title>
    <link>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327619#M12897</link>
    <description>&lt;P&gt;|stats count by mbReturnCode,mbBrokerName,mbExecutingGroupName&lt;BR /&gt;
↓&lt;BR /&gt;
|top limit=20 mbReturnCode,mbBrokerName,mbExecutingGroupName&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2017 09:39:02 GMT</pubDate>
    <dc:creator>HiroshiSatoh</dc:creator>
    <dc:date>2017-09-11T09:39:02Z</dc:date>
    <item>
      <title>print the error code count</title>
      <link>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327616#M12894</link>
      <description>&lt;P&gt;I want to create the dashboard to show error count for specific execution group on specific broker, Below is the query,&lt;/P&gt;

&lt;P&gt;index=BEM  source="/apps/wmb/brokerlogs/mqsi.log" mbReturnCode="*" |table mbReturnCode mbBrokerName mbExecutingGroupName &lt;BR /&gt;
I have getting below result,&lt;BR /&gt;
    mbReturnCode    mbBrokerName    mbExecutingGroupName&lt;BR /&gt;
1   BIP2604 BK_MQLP37LB BEM_CARD_SERVICES&lt;BR /&gt;
2   BIP2623 BK_MQLP37LB BEM_CARD_SERVICES&lt;BR /&gt;
3   BIP2604 BK_MQLP37LB BEM_CARD_SERVICES&lt;BR /&gt;
4   BIP2623 BK_MQLP37LB BEM_CARD_SERVICES&lt;/P&gt;

&lt;P&gt;But require below one&lt;BR /&gt;
    mbReturnCode    mbBrokerName    mbExecutingGroupName  Count(*)&lt;BR /&gt;
1   BIP2604 BK_MQLP37LB BEM_CARD_SERVICES                             115&lt;BR /&gt;
2   BIP2623 BK_MQLP01LB Payment                                                    96&lt;BR /&gt;
3   BIP2545 BK_MQLP02LB Merchant_mgt                                         44&lt;/P&gt;

&lt;P&gt;Could you please help me.&lt;/P&gt;

&lt;P&gt;Splunk version- 6.5.0&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:41:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327616#M12894</guid>
      <dc:creator>ajaynaralikar</dc:creator>
      <dc:date>2020-09-29T15:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: print the error code count</title>
      <link>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327617#M12895</link>
      <description>&lt;P&gt;Try this!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=BEM source="/apps/wmb/brokerlogs/mqsi.log" mbReturnCode="*" 
|stats count by mbReturnCode,mbBrokerName,mbExecutingGroupName
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Sep 2017 08:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327617#M12895</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2017-09-11T08:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: print the error code count</title>
      <link>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327618#M12896</link>
      <description>&lt;P&gt;Thanks HiroshiSatoh.&lt;BR /&gt;
Could you please do one more help. &lt;BR /&gt;
I want to print top 20 count value in sorted order&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:03:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327618#M12896</guid>
      <dc:creator>ajaynaralikar</dc:creator>
      <dc:date>2017-09-11T09:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: print the error code count</title>
      <link>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327619#M12897</link>
      <description>&lt;P&gt;|stats count by mbReturnCode,mbBrokerName,mbExecutingGroupName&lt;BR /&gt;
↓&lt;BR /&gt;
|top limit=20 mbReturnCode,mbBrokerName,mbExecutingGroupName&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 09:39:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327619#M12897</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2017-09-11T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: print the error code count</title>
      <link>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327620#M12898</link>
      <description>&lt;P&gt;Hey @ajaynaralikar, Please be sure that when responding to someone's answer, click on "Add comment" directly below their answer or, if responding to someone's comment, type in the "Add your comment..." box directly below their comment. You typed your last response in the "Enter your answer here..." box at the very bottom of the page which, instead, posted a brand new answer. This will help with a clean continuous flow of the conversation. I already converted your "answer" to comments, so just something to keep in mind from here on out. Thanks and happy Splunking!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 21:43:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327620#M12898</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-09-11T21:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: print the error code count</title>
      <link>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327621#M12899</link>
      <description>&lt;P&gt;Sure.&lt;BR /&gt;
Next time will follow this.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 05:54:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/print-the-error-code-count/m-p/327621#M12899</guid>
      <dc:creator>ajaynaralikar</dc:creator>
      <dc:date>2017-09-12T05:54:37Z</dc:date>
    </item>
  </channel>
</rss>

