<?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 edit my search to create a summary index? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-edit-my-search-to-create-a-summary-index/m-p/111703#M1134</link>
    <description>&lt;P&gt;I think this is what you are looking for:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/SearchReference/Collect"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/SearchReference/Collect&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You add "| collect index="mysummaryindex" to the end of your search.&lt;/P&gt;

&lt;P&gt;Time zone is the server's time zone by default. This is often GMT but you can do index=* | head 1 | table _time and compare it to your current (local) time to find out.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2015 20:38:14 GMT</pubDate>
    <dc:creator>masonmorales</dc:creator>
    <dc:date>2015-03-30T20:38:14Z</dc:date>
    <item>
      <title>How to edit my search to create a summary index?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-edit-my-search-to-create-a-summary-index/m-p/111701#M1132</link>
      <description>&lt;P&gt;I am trying to make a summary index for data in April 2014.&lt;/P&gt;

&lt;P&gt;Using the current default search and joins, and to query more than 25 GB of data takes more than 35 seconds of time.&lt;/P&gt;

&lt;P&gt;I want to use a summary index to reduce the amount of time used in the search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=mail-bak sourcetype=MiMailData earliest="04/01/2014:00:00:00" latest="04/30/2014:24:00:00" MailType=0 OR MailType=1 OR MailType=2 | where isnull(MailCc)
| join MailUID [search index=vpn sourcetype=accesslog earliest="05/01/2014:00:00:00" latest="05/01/2014:24:00:00" | stats count as VpnAccessCount by USER_ID | eval MailUID = USER_ID ] 
| eval testYn = if( match( MailTo , MailFrom ), "Y", "N")
| eval testYn2 = if( match( MailTo , ","), "Y", "N") | search testYn = "Y" AND testYn2 = "N" 
| stats count as SendWeekCount by MailUID VpnAccessCount | rename MailUID as MailTo
| table MailTo SendWeekCount VpnAccessCount
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Where's the part that is included in the search command?&lt;/P&gt;

&lt;P&gt;What time zone settings?&lt;/P&gt;

&lt;P&gt;In addition to setting the part?&lt;/P&gt;

&lt;P&gt;Answer please. Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2015 07:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-edit-my-search-to-create-a-summary-index/m-p/111701#M1132</guid>
      <dc:creator>jihoon</dc:creator>
      <dc:date>2015-03-30T07:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a summary index?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-edit-my-search-to-create-a-summary-index/m-p/111702#M1133</link>
      <description>&lt;P&gt;Have you evaluated report acceleration vs. summary indexing? See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/Knowledge/Aboutsummaryindexing"&gt;Overview of summary-based search and pivot acceleration&lt;/A&gt; in the &lt;EM&gt;Knowledge Manager Manual&lt;/EM&gt; for more information.&lt;/P&gt;

&lt;P&gt;For instructions about the reporting commands that populate a summary index, such as &lt;CODE&gt;sistats&lt;/CODE&gt;, as well as other background information you can use to determine whether a summary index is what you need, see &lt;A href="http://Use+summary+indexing+for+increased+reporting+efficiency"&gt;Use summary indexing for increased reporting efficiency&lt;/A&gt;, also in the &lt;EM&gt;Knowledge Manager Manual&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2015 20:16:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-edit-my-search-to-create-a-summary-index/m-p/111702#M1133</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2015-03-30T20:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a summary index?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-edit-my-search-to-create-a-summary-index/m-p/111703#M1134</link>
      <description>&lt;P&gt;I think this is what you are looking for:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/SearchReference/Collect"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/SearchReference/Collect&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You add "| collect index="mysummaryindex" to the end of your search.&lt;/P&gt;

&lt;P&gt;Time zone is the server's time zone by default. This is often GMT but you can do index=* | head 1 | table _time and compare it to your current (local) time to find out.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2015 20:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-edit-my-search-to-create-a-summary-index/m-p/111703#M1134</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-03-30T20:38:14Z</dc:date>
    </item>
  </channel>
</rss>

