<?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 to display the events for the Count in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-display-the-events-for-the-Count/m-p/502476#M46137</link>
    <description>&lt;P&gt;hi, Can you elaborate your question . &lt;BR /&gt;
But for start if you want to count multiple fields then you can use like&lt;BR /&gt;
 &lt;CODE&gt;|timechart count as Total, count(eval(status=success)) as Success, count(eval(field=A)) as FieldATotal&lt;/CODE&gt; .&lt;BR /&gt;
You can also use stats instead of timechart .&lt;/P&gt;

&lt;P&gt;If you want to count no of events from 2 different queries , then try &lt;BR /&gt;
&lt;CODE&gt;Query1 | stats count as total1 | append[search Query2 | stats count as total2] | eval Total=total1+total2 | table Total&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Let us know if you are looking something else here.&lt;BR /&gt;
Thanks &lt;BR /&gt;
Anantha.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 17:20:14 GMT</pubDate>
    <dc:creator>Anantha123</dc:creator>
    <dc:date>2019-10-16T17:20:14Z</dc:date>
    <item>
      <title>how to display the events for the Count</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-display-the-events-for-the-Count/m-p/502475#M46136</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;
I am trying to display the events of the "count"(which is of multiple fields), how do I do that?&lt;BR /&gt;
I am using the append/appendcol command to combine 2 queries and display its count. when I click the "count" it is taking me to the same query.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 16:15:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-display-the-events-for-the-Count/m-p/502475#M46136</guid>
      <dc:creator>mmengu416</dc:creator>
      <dc:date>2019-10-16T16:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to display the events for the Count</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-display-the-events-for-the-Count/m-p/502476#M46137</link>
      <description>&lt;P&gt;hi, Can you elaborate your question . &lt;BR /&gt;
But for start if you want to count multiple fields then you can use like&lt;BR /&gt;
 &lt;CODE&gt;|timechart count as Total, count(eval(status=success)) as Success, count(eval(field=A)) as FieldATotal&lt;/CODE&gt; .&lt;BR /&gt;
You can also use stats instead of timechart .&lt;/P&gt;

&lt;P&gt;If you want to count no of events from 2 different queries , then try &lt;BR /&gt;
&lt;CODE&gt;Query1 | stats count as total1 | append[search Query2 | stats count as total2] | eval Total=total1+total2 | table Total&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Let us know if you are looking something else here.&lt;BR /&gt;
Thanks &lt;BR /&gt;
Anantha.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 17:20:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-display-the-events-for-the-Count/m-p/502476#M46137</guid>
      <dc:creator>Anantha123</dc:creator>
      <dc:date>2019-10-16T17:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to display the events for the Count</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-display-the-events-for-the-Count/m-p/502477#M46138</link>
      <description>&lt;P&gt;HI Anantha, &lt;BR /&gt;
Thank you for the response, &lt;BR /&gt;
yes, that is the query I am using. Assume I am using the query "Query1 | stats count as total1 | append[search Query2 | stats count as total2] | eval Total=total1+total2 | table Total" When I want to triage the "Total" events and click on the "Total" in Splunk, instead of displaying the events, it is taking me to the same query in another tab. the "Total" field does not provide the total events instead it is taking me to the same query "Query1 | stats count as total1 | append[search Query2 | stats count as total2] | eval Total=total1+total2 | table Total."&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 12:18:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-display-the-events-for-the-Count/m-p/502477#M46138</guid>
      <dc:creator>mmengu416</dc:creator>
      <dc:date>2019-10-21T12:18:21Z</dc:date>
    </item>
  </channel>
</rss>

