<?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 Summary indexing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Summary-indexing/m-p/35047#M6334</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;Quick question about summary indexing:&lt;/P&gt;

&lt;P&gt;I have this configuration in the savedsearches.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[esxtop_Group_Cpu_VM_SI]
action.summary_index = 1
action.summary_index._name = summary_vmware
cron_schedule = */5 * * * *
description = Summary index for esxtop_Group_Cpu (VM)
dispatch.earliest_time = -8m@m
dispatch.latest_time = -3m@m
displayview = flashtimeline
enableSched = 1
realtime_schedule = 0
request.ui_dispatch_view = flashtimeline
search = index="vmware" sourcetype="esxtop_Group_Cpu" | stats count by VM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After waiting for 5 minutes, I tried to search &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=”summary_vmware” source=”esxtop_Group_Cpu_VM_SI” | stats count by VM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I’m seeing &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;VM      count
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM="net-cdp.4238", count=55     1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM="net-cdp.4239", count=55     1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM="vmware-vmkauthd.4241", count=110    1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM="vobd.4230", count=55    1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM="vobd.4231", count=55    1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM=FT, count=110    1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM=LinuxTaskMemPool, count=110  1
...
...
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How does the search string looks like to get the values of fieldname VM, eg &lt;CODE&gt;VM="net-cdp.4238", VM="net-cdp.4239", VM="vmware-vmkauthd.4241", VM="vobd.4230", VM=FT&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;since &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=”summary_vmware” source=”esxtop_Group_Cpu_VM_SI” | stats count by VM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;does not get the values of fieldname VM&lt;/P&gt;</description>
    <pubDate>Sun, 22 Aug 2010 06:41:03 GMT</pubDate>
    <dc:creator>Nicholas_Key</dc:creator>
    <dc:date>2010-08-22T06:41:03Z</dc:date>
    <item>
      <title>Summary indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Summary-indexing/m-p/35047#M6334</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;Quick question about summary indexing:&lt;/P&gt;

&lt;P&gt;I have this configuration in the savedsearches.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[esxtop_Group_Cpu_VM_SI]
action.summary_index = 1
action.summary_index._name = summary_vmware
cron_schedule = */5 * * * *
description = Summary index for esxtop_Group_Cpu (VM)
dispatch.earliest_time = -8m@m
dispatch.latest_time = -3m@m
displayview = flashtimeline
enableSched = 1
realtime_schedule = 0
request.ui_dispatch_view = flashtimeline
search = index="vmware" sourcetype="esxtop_Group_Cpu" | stats count by VM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After waiting for 5 minutes, I tried to search &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=”summary_vmware” source=”esxtop_Group_Cpu_VM_SI” | stats count by VM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I’m seeing &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;VM      count
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM="net-cdp.4238", count=55     1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM="net-cdp.4239", count=55     1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM="vmware-vmkauthd.4241", count=110    1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM="vobd.4230", count=55    1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM="vobd.4231", count=55    1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM=FT, count=110    1
00, search_name=esxtop_Group_Cpu_VM_SI, search_now=1282431600.000, info_min_time=1282431120.000, info_max_time=1282431420.000, info_search_time=1282431632.311, VM=LinuxTaskMemPool, count=110  1
...
...
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How does the search string looks like to get the values of fieldname VM, eg &lt;CODE&gt;VM="net-cdp.4238", VM="net-cdp.4239", VM="vmware-vmkauthd.4241", VM="vobd.4230", VM=FT&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;since &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=”summary_vmware” source=”esxtop_Group_Cpu_VM_SI” | stats count by VM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;does not get the values of fieldname VM&lt;/P&gt;</description>
      <pubDate>Sun, 22 Aug 2010 06:41:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Summary-indexing/m-p/35047#M6334</guid>
      <dc:creator>Nicholas_Key</dc:creator>
      <dc:date>2010-08-22T06:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Summary indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Summary-indexing/m-p/35048#M6335</link>
      <description>&lt;P&gt;It would be helpful if you showed up the original data you are summarizing over.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;It seems to me that your quotes are wrong in your reporting query, but maybe that's from some copy/paste to here.&lt;/LI&gt;
&lt;LI&gt;Also, either (the former is probably preferable):
&lt;UL&gt;
&lt;LI&gt;Your summarizing search should use &lt;CODE&gt;sistats&lt;/CODE&gt; instead of &lt;CODE&gt;stats&lt;/CODE&gt;; or&lt;/LI&gt;
&lt;LI&gt;Your reporting search should use &lt;CODE&gt;sum(count)&lt;/CODE&gt; instead of &lt;CODE&gt;count&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Nevertheless, you should be getting a correct field extraction. Sometimes, the field extraction rules for summary data have been overridden, possibly because the sourcetype has been changed from &lt;CODE&gt;stash&lt;/CODE&gt;, or some host-based or source-based rule takes precedence and prevents it from running right. &lt;/P&gt;

&lt;P&gt;I will also note that your schedule will generate summaries over time ranges from&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01:02:00 - 01:06:59
01:07:00 - 01:11:59
01:12:00 - 01:16:59
01:17:00 - 01:21:59
...
etc.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which while correct, are not particularly great if you wanted to aggregate or timechart up to 15min or 1h intervals typically on a quarter-hour or hour. Better to line them up on 5 minute markers by changing the cron to &lt;CODE&gt;3,8,13,18,23,28,33,38,43,48,53,58 * * * *&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Aug 2010 07:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Summary-indexing/m-p/35048#M6335</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-22T07:36:05Z</dc:date>
    </item>
  </channel>
</rss>

