<?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 do i display the total number of unique records per row? See the attached image. in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392825#M6589</link>
    <description>&lt;P&gt;Can you try :&lt;BR /&gt;
| stats count by ACC_NBR&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jan 2019 09:24:14 GMT</pubDate>
    <dc:creator>p_gurav</dc:creator>
    <dc:date>2019-01-07T09:24:14Z</dc:date>
    <item>
      <title>How do i display the total number of unique records per row? See the attached image.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392817#M6581</link>
      <description>&lt;P&gt;I want to print the total on the statistics tab. &lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 08:14:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392817#M6581</guid>
      <dc:creator>ronniemakhombi</dc:creator>
      <dc:date>2019-01-07T08:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do i display the total number of unique records per row? See the attached image.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392818#M6582</link>
      <description>&lt;P&gt;Do you want total of ACC_NBR column?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 08:26:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392818#M6582</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2019-01-07T08:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do i display the total number of unique records per row? See the attached image.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392819#M6583</link>
      <description>&lt;P&gt;No, I want to print or display 86 513 for reporting&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 08:57:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392819#M6583</guid>
      <dc:creator>ronniemakhombi</dc:creator>
      <dc:date>2019-01-07T08:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do i display the total number of unique records per row? See the attached image.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392820#M6584</link>
      <description>&lt;P&gt;@ronniemakhombi the expected output is still not clear. For the community to assist you better please add further details as to which value is the total and where is it going to be displayed. Also whether this request is for Dashboard or not?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 09:00:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392820#M6584</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-01-07T09:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do i display the total number of unique records per row? See the attached image.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392821#M6585</link>
      <description>&lt;P&gt;Thank you for your comment, I want to display the &lt;STRONG&gt;total number&lt;/STRONG&gt; of events/records. for example in the snippet attached, there are five records (5). Is there a way i can print this out or display this number. &lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 09:14:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392821#M6585</guid>
      <dc:creator>ronniemakhombi</dc:creator>
      <dc:date>2019-01-07T09:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do i display the total number of unique records per row? See the attached image.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392822#M6586</link>
      <description>&lt;P&gt;@ronniemakhmbi&lt;/P&gt;

&lt;P&gt;add end of your query like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|dedup ACC_NBR  |stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Jan 2019 09:21:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392822#M6586</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2019-01-07T09:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do i display the total number of unique records per row? See the attached image.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392823#M6587</link>
      <description>&lt;P&gt;Thank you for your comment, I want to display the total number of events/records. for example in the snippet attached, there are five records (5). Is there a way i can print this out or display this number.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 09:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392823#M6587</guid>
      <dc:creator>ronniemakhombi</dc:creator>
      <dc:date>2019-01-07T09:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do i display the total number of unique records per row? See the attached image.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392824#M6588</link>
      <description>&lt;P&gt;@ronniemakhombi &lt;BR /&gt;
you can go with my  code&lt;CODE&gt;|dedup ACC_NBR  |stats count&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 09:24:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392824#M6588</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2019-01-07T09:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do i display the total number of unique records per row? See the attached image.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392825#M6589</link>
      <description>&lt;P&gt;Can you try :&lt;BR /&gt;
| stats count by ACC_NBR&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 09:24:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392825#M6589</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2019-01-07T09:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do i display the total number of unique records per row? See the attached image.</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392826#M6590</link>
      <description>&lt;P&gt;Try the following run anywhere example. You can use &lt;CODE&gt;&amp;lt;progress&amp;gt;&lt;/CODE&gt; or &lt;CODE&gt;&amp;lt;done&amp;gt;&lt;/CODE&gt; search event handler depending on your use case to capture the number of results returned by a search using a predefined token &lt;CODE&gt;$job.resultCount$&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Table Result Count&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;My Search (Results: $tokResultCount$)&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal sourcetype=splunkd
| stats count by component           
          &amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-1h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;progress&amp;gt;
            &amp;lt;set token="tokResultCount"&amp;gt;$job.resultCount$&amp;lt;/set&amp;gt;
          &amp;lt;/progress&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer to documentation: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/tokens#Search_event_elements_and_job_properties"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/tokens#Search_event_elements_and_job_properties&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 09:33:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-do-i-display-the-total-number-of-unique-records-per-row-See/m-p/392826#M6590</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-01-07T09:33:59Z</dc:date>
    </item>
  </channel>
</rss>

