<?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: missing sourcetype in index summary in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438812#M76497</link>
    <description>&lt;P&gt;most likely, there is a record with a sourcetype and no host.  Update the second line of the second search to ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | eval date=strftime( _time, "%Y-%m-%d" ), channel=COALESCE(channel,' '), host=coalesce(host,"((missing))")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 07 Jun 2018 18:20:50 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2018-06-07T18:20:50Z</dc:date>
    <item>
      <title>missing sourcetype in index summary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438809#M76494</link>
      <description>&lt;P&gt;I have two summary reports over an index, and one sourcetype is missing from one.&lt;/P&gt;

&lt;P&gt;The reports are:&lt;BR /&gt;
    index="esam"&lt;BR /&gt;
      | eval fred=sourcetype.":".host &lt;BR /&gt;
      | eval time=strftime(_time,"%Y-%m-%d") &lt;BR /&gt;
      | stats count BY time, fred &lt;BR /&gt;
      | xyseries time, fred, count&lt;BR /&gt;
and:&lt;BR /&gt;
    index="esam" &lt;BR /&gt;
      | eval date=strftime( _time, "%Y-%m-%d" ), channel=COALESCE(channel,' ')&lt;BR /&gt;
      | stats min(_time) AS min_time, max(_time) AS max_time, count BY sourcetype, date, channel, host&lt;BR /&gt;
      | fieldformat min_time=strftime(min_time, "%Y-%m-%d %H:%M:%S.%3N")&lt;BR /&gt;
      | fieldformat max_time=strftime(max_time, "%Y-%m-%d %H:%M:%S.%3N")&lt;/P&gt;

&lt;P&gt;one sourcetype is present in the results of the first report and missing from the second.&lt;/P&gt;

&lt;P&gt;Can you advise where to look for the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:50:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438809#M76494</guid>
      <dc:creator>JeToJedno</dc:creator>
      <dc:date>2020-09-29T19:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: missing sourcetype in index summary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438810#M76495</link>
      <description>&lt;P&gt;Are you running over the same timerange? &lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 13:58:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438810#M76495</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-06-06T13:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: missing sourcetype in index summary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438811#M76496</link>
      <description>&lt;P&gt;Yes.  -7d@d -&amp;gt; now&lt;BR /&gt;
the logs (each sourcetype is a different set of log files) are all over the same timeperiod.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 14:38:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438811#M76496</guid>
      <dc:creator>JeToJedno</dc:creator>
      <dc:date>2018-06-06T14:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: missing sourcetype in index summary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438812#M76497</link>
      <description>&lt;P&gt;most likely, there is a record with a sourcetype and no host.  Update the second line of the second search to ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | eval date=strftime( _time, "%Y-%m-%d" ), channel=COALESCE(channel,' '), host=coalesce(host,"((missing))")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jun 2018 18:20:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438812#M76497</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-06-07T18:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: missing sourcetype in index summary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438813#M76498</link>
      <description>&lt;P&gt;Thanks.  I tried that.  No change.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|time|ESAM:AT_messages:main|ESAM:break_decisioning:main|ESAM:break_evaluation:main|ESAM:break_return:main|ESAM:esam_server_debug:main|ESAM:scte104_splice_request_messages:main|ESAM:vicc_polling:main|ESAM:vicc_sanity_check:main|
|2018-06-05|7615438|18|27|16|3029470|11|57495|46|
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|sourcetype|date|channel|host|min_time|max_time|count|
|ESAM:break_decisioning|2018-06-05|AD2|main|2018-06-05 08:43:50.641|2018-06-05 16:10:24.016|18|
|ESAM:break_evaluation|2018-06-05|AD2|main|2018-06-05 08:43:50.294|2018-06-05 16:10:13.902|27|
|ESAM:break_return|2018-06-05|AD2|main|2018-06-05 08:52:43.124|2018-06-05 16:12:00.352|16|
|ESAM:scte104_splice_request_messages|2018-06-05|AD2|main|2018-06-05 08:51:06.782|2018-06-05 16:10:24.016|11|
|ESAM:vicc_polling|2018-06-05|AD2|main|2018-06-05 00:00:02.328|2018-06-05 23:59:59.174|38336|
|ESAM:vicc_polling|2018-06-05|TEST|main|2018-06-05 00:00:02.795|2018-06-05 23:59:58.265|19159|
|ESAM:vicc_sanity_check|2018-06-05|AD2|main|2018-06-05 12:59:34.020|2018-06-05 13:37:44.024|6|
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note the &lt;CODE&gt;ESAM:AT_messages:main&lt;/CODE&gt; present in the first and missing in the second.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 10:08:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/missing-sourcetype-in-index-summary/m-p/438813#M76498</guid>
      <dc:creator>JeToJedno</dc:creator>
      <dc:date>2018-06-08T10:08:27Z</dc:date>
    </item>
  </channel>
</rss>

