<?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 display multiple search values as search coumns  in the search table in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-multiple-search-values-as-search-coumns-in-the/m-p/42338#M179044</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;My application has lot of error codes(all most 35) which logs in the log file.  I want to get  count of each error code from the log file. For that I have written the rex as&lt;BR /&gt;
      rex "&lt;ERRORCODE&gt;(?&lt;CBS2_ERROR_CODE&gt;\d+)" | chart count by DIID, cbs2_error_code&lt;BR /&gt;
Which is giving the out put till only 10 error codes and rest of them comes under OTHER&lt;/CBS2_ERROR_CODE&gt;&lt;/ERRORCODE&gt;&lt;/P&gt;

&lt;P&gt;For eg:&lt;BR /&gt;
20009   21002   21003   21999   25002   25017   25100   25107   25111   25113   OTHER&lt;BR /&gt;
 20      35     5         8       10    14      20      12       11     10      40&lt;/P&gt;

&lt;P&gt;But I have lot of other error codes like 10001, 10002, 10003,.. which all are come under OTHER&lt;/P&gt;

&lt;P&gt;Can some one help me how best I can get the report with count of each error code in the log file?&lt;/P&gt;

&lt;P&gt;Thanks In Advance&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:18:58 GMT</pubDate>
    <dc:creator>kodali21055</dc:creator>
    <dc:date>2020-09-28T12:18:58Z</dc:date>
    <item>
      <title>How to display multiple search values as search coumns  in the search table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-multiple-search-values-as-search-coumns-in-the/m-p/42338#M179044</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;My application has lot of error codes(all most 35) which logs in the log file.  I want to get  count of each error code from the log file. For that I have written the rex as&lt;BR /&gt;
      rex "&lt;ERRORCODE&gt;(?&lt;CBS2_ERROR_CODE&gt;\d+)" | chart count by DIID, cbs2_error_code&lt;BR /&gt;
Which is giving the out put till only 10 error codes and rest of them comes under OTHER&lt;/CBS2_ERROR_CODE&gt;&lt;/ERRORCODE&gt;&lt;/P&gt;

&lt;P&gt;For eg:&lt;BR /&gt;
20009   21002   21003   21999   25002   25017   25100   25107   25111   25113   OTHER&lt;BR /&gt;
 20      35     5         8       10    14      20      12       11     10      40&lt;/P&gt;

&lt;P&gt;But I have lot of other error codes like 10001, 10002, 10003,.. which all are come under OTHER&lt;/P&gt;

&lt;P&gt;Can some one help me how best I can get the report with count of each error code in the log file?&lt;/P&gt;

&lt;P&gt;Thanks In Advance&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-multiple-search-values-as-search-coumns-in-the/m-p/42338#M179044</guid>
      <dc:creator>kodali21055</dc:creator>
      <dc:date>2020-09-28T12:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multiple search values as search coumns  in the search table</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-multiple-search-values-as-search-coumns-in-the/m-p/42339#M179045</link>
      <description>&lt;P&gt;See the &lt;CODE&gt;limit=&lt;/CODE&gt; option:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Chart"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Chart&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2012 02:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-multiple-search-values-as-search-coumns-in-the/m-p/42339#M179045</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-08-23T02:05:58Z</dc:date>
    </item>
  </channel>
</rss>

