<?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 Which is this the best way to get a count of events indexed for entire environment? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Which-is-this-the-best-way-to-get-a-count-of-events-indexed-for/m-p/432114#M173295</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Blockquote&lt;BR /&gt;
1.&lt;BR /&gt;
| eventcount summarize=false | stats sum(count)&lt;/P&gt;

&lt;P&gt;Blockquote&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Blockquote&lt;BR /&gt;
2. &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/Troubleshooting/Aboutmetricslog"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.3/Troubleshooting/Aboutmetricslog&lt;/A&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;index=_internal source=*metrics.log  group=thruput | stats  sum(ev)&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Blockquote&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;My use case is currently for last 30 days, and I am getting &lt;EM&gt;very&lt;/EM&gt; different results. The first search command appears to be identical to the dashboard that shows up on the "What to Search" section on the search and reporting home page.&lt;/P&gt;

&lt;P&gt;The metrics.log I want to believe to be more accurate given that I can't do a time modifier on the first search command, "| eventcount." &lt;/P&gt;</description>
    <pubDate>Tue, 29 Jan 2019 21:03:34 GMT</pubDate>
    <dc:creator>bgagliardi1</dc:creator>
    <dc:date>2019-01-29T21:03:34Z</dc:date>
    <item>
      <title>Which is this the best way to get a count of events indexed for entire environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-is-this-the-best-way-to-get-a-count-of-events-indexed-for/m-p/432114#M173295</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Blockquote&lt;BR /&gt;
1.&lt;BR /&gt;
| eventcount summarize=false | stats sum(count)&lt;/P&gt;

&lt;P&gt;Blockquote&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Blockquote&lt;BR /&gt;
2. &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/Troubleshooting/Aboutmetricslog"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.3/Troubleshooting/Aboutmetricslog&lt;/A&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;index=_internal source=*metrics.log  group=thruput | stats  sum(ev)&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Blockquote&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;My use case is currently for last 30 days, and I am getting &lt;EM&gt;very&lt;/EM&gt; different results. The first search command appears to be identical to the dashboard that shows up on the "What to Search" section on the search and reporting home page.&lt;/P&gt;

&lt;P&gt;The metrics.log I want to believe to be more accurate given that I can't do a time modifier on the first search command, "| eventcount." &lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 21:03:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-is-this-the-best-way-to-get-a-count-of-events-indexed-for/m-p/432114#M173295</guid>
      <dc:creator>bgagliardi1</dc:creator>
      <dc:date>2019-01-29T21:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Which is this the best way to get a count of events indexed for entire environment?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-is-this-the-best-way-to-get-a-count-of-events-indexed-for/m-p/432115#M173296</link>
      <description>&lt;P&gt;Hello @bgagliardi1 &lt;/P&gt;

&lt;P&gt;What about this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count WHERE index=*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jan 2019 06:51:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-is-this-the-best-way-to-get-a-count-of-events-indexed-for/m-p/432115#M173296</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-01-30T06:51:16Z</dc:date>
    </item>
  </channel>
</rss>

