<?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: Index viewable in Events but not in Statistics in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224108#M176608</link>
    <description>&lt;P&gt;First of all only to get it right...&lt;BR /&gt;
you run this search two times? Once with index=sterling once with index=sterling_nonprod right?&lt;BR /&gt;
(only if not try "index=sterling OR index=sterling_nonprod")&lt;/P&gt;

&lt;P&gt;Second is the attribute  permission_type available in both of your indexed datasets (indexes)?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 11:11:02 GMT</pubDate>
    <dc:creator>PPape</dc:creator>
    <dc:date>2020-09-29T11:11:02Z</dc:date>
    <item>
      <title>Index viewable in Events but not in Statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224104#M176604</link>
      <description>&lt;P&gt;I can see events from two indexes in the Events section, but my Statistics shows only events from one of the indexes. Are there common issues that can cause this?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 15:38:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224104#M176604</guid>
      <dc:creator>Lucas_Henry_</dc:creator>
      <dc:date>2016-09-28T15:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Index viewable in Events but not in Statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224105#M176605</link>
      <description>&lt;P&gt;Can you show the search you are running?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 15:44:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224105#M176605</guid>
      <dc:creator>PPape</dc:creator>
      <dc:date>2016-09-28T15:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Index viewable in Events but not in Statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224106#M176606</link>
      <description>&lt;P&gt;index=sterling | eval host=lower(host) | eval permission_type=lower(permission_type)  | stats  earliest(_time) as earliest latest(_time) as latest values(source) as sources by host index sourcetype splunk_server permission_type fillnull | convert  ctime(earliest) ctime(latest)  | table  index host sourcetype earliest latest sources splunk_server permission_type  | sort  host&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:13:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224106#M176606</guid>
      <dc:creator>Lucas_Henry_</dc:creator>
      <dc:date>2020-09-29T11:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Index viewable in Events but not in Statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224107#M176607</link>
      <description>&lt;P&gt;The indices are "sterling" and "sterling_nonprod". Sterling_nonprod is the only index that works with this search&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:13:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224107#M176607</guid>
      <dc:creator>Lucas_Henry_</dc:creator>
      <dc:date>2020-09-29T11:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Index viewable in Events but not in Statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224108#M176608</link>
      <description>&lt;P&gt;First of all only to get it right...&lt;BR /&gt;
you run this search two times? Once with index=sterling once with index=sterling_nonprod right?&lt;BR /&gt;
(only if not try "index=sterling OR index=sterling_nonprod")&lt;/P&gt;

&lt;P&gt;Second is the attribute  permission_type available in both of your indexed datasets (indexes)?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:11:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224108#M176608</guid>
      <dc:creator>PPape</dc:creator>
      <dc:date>2020-09-29T11:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Index viewable in Events but not in Statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224109#M176609</link>
      <description>&lt;P&gt;It sounds like your search is making some assumptions about the fields present,  and somehow those assumptions are only true for the one index. &lt;/P&gt;

&lt;P&gt;in &lt;CODE&gt;stats .... by  host index sourcetype splunk_server permission_type fillnull&lt;/CODE&gt;   &lt;/P&gt;

&lt;P&gt;Obviously host, index, sourcetype and splunk_server will always be defined on all the incoming event rows.  However i the extraction for permission_type isn't working right for the data in the other index or if the (very strange looking) "fillnull" field isn't really a field, then any rows with null values for either field will get thrown away.    If none of the rows contain any value for permission_type or "fillnull"  then you'll get no result rows out of that stats command.&lt;/P&gt;

&lt;P&gt;I would just look at the field values directly   &lt;CODE&gt;index=sterling | stats count by fillnull&lt;/CODE&gt;   or even &lt;CODE&gt;index=sterling | table fillnull permission_type&lt;/CODE&gt;.   If there are null values anywhere, that extraction or that lookup field or what-have-you, will be your culprit.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:14:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Index-viewable-in-Events-but-not-in-Statistics/m-p/224109#M176609</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2020-09-29T11:14:03Z</dc:date>
    </item>
  </channel>
</rss>

