<?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 How to create summary index? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/632465#M219703</link>
    <description>&lt;P&gt;I have a dashboard which contains 5 panels in table format.&lt;BR /&gt;&lt;BR /&gt;Query for panel1:&lt;BR /&gt;index=xxxx sourcetype=xxxxx&amp;nbsp; stroage_name=CompleteTransactions&amp;nbsp;&lt;BR /&gt;|table Description application _time&amp;nbsp; count&lt;BR /&gt;streamstats current=f window=1 values( Description) as desp&amp;nbsp; &amp;nbsp;values(application) as app values(_time) as totaltime&amp;nbsp; values (count) as totalcount&lt;BR /&gt;|eval siml=if(application == app AND Description == desp, count - totalcount,0)&lt;BR /&gt;|where siml &amp;gt; 0&lt;BR /&gt;|stats sum(siml) as totalrequest by application&lt;BR /&gt;&lt;BR /&gt;output:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;Description&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;application&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;_time&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;count&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;ampt.gc.com&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;ampt-portal&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;2023-01-16 14:00:56.456&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;ampt.gc.com&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;ampt-login&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;2023-01-16 12:00:56.400&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;ampt.gc.com&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;ampt-clientid&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;2023-01-16 11:00:36.406&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;50&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;Similar to panel 1 query&amp;nbsp; we have other 4 panels&amp;nbsp; with different field names.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The task is i need to get the output of 5 panels into a summary index.&lt;BR /&gt;Retention period&amp;nbsp; to 60 days&lt;BR /&gt;query need to run for every 24 hours&lt;BR /&gt;&lt;BR /&gt;So need to create a report for everyday for last 24 hours and need to create report to collect everydata into summary index.&lt;BR /&gt;so that if they search for last 60 days data should display.&lt;BR /&gt;&lt;BR /&gt;how can i do this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 18:47:59 GMT</pubDate>
    <dc:creator>Vani_26</dc:creator>
    <dc:date>2023-02-28T18:47:59Z</dc:date>
    <item>
      <title>How to create summary index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/632465#M219703</link>
      <description>&lt;P&gt;I have a dashboard which contains 5 panels in table format.&lt;BR /&gt;&lt;BR /&gt;Query for panel1:&lt;BR /&gt;index=xxxx sourcetype=xxxxx&amp;nbsp; stroage_name=CompleteTransactions&amp;nbsp;&lt;BR /&gt;|table Description application _time&amp;nbsp; count&lt;BR /&gt;streamstats current=f window=1 values( Description) as desp&amp;nbsp; &amp;nbsp;values(application) as app values(_time) as totaltime&amp;nbsp; values (count) as totalcount&lt;BR /&gt;|eval siml=if(application == app AND Description == desp, count - totalcount,0)&lt;BR /&gt;|where siml &amp;gt; 0&lt;BR /&gt;|stats sum(siml) as totalrequest by application&lt;BR /&gt;&lt;BR /&gt;output:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;Description&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;application&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;_time&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;count&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;ampt.gc.com&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;ampt-portal&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;2023-01-16 14:00:56.456&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;ampt.gc.com&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;ampt-login&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;2023-01-16 12:00:56.400&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="24px"&gt;ampt.gc.com&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;ampt-clientid&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;2023-01-16 11:00:36.406&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;50&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;Similar to panel 1 query&amp;nbsp; we have other 4 panels&amp;nbsp; with different field names.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The task is i need to get the output of 5 panels into a summary index.&lt;BR /&gt;Retention period&amp;nbsp; to 60 days&lt;BR /&gt;query need to run for every 24 hours&lt;BR /&gt;&lt;BR /&gt;So need to create a report for everyday for last 24 hours and need to create report to collect everydata into summary index.&lt;BR /&gt;so that if they search for last 60 days data should display.&lt;BR /&gt;&lt;BR /&gt;how can i do this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 18:47:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/632465#M219703</guid>
      <dc:creator>Vani_26</dc:creator>
      <dc:date>2023-02-28T18:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create summary index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/632469#M219706</link>
      <description>&lt;P&gt;Create your individual searches, or of you can create a single search that will generate all parts of the data and then save it as a report and then schedule it to run daily for 'yesterday'. The enable summary indexing.&lt;/P&gt;&lt;P&gt;Alternatively you can use the &lt;STRONG&gt;collect&lt;/STRONG&gt;&amp;nbsp;statement directly in your search.&lt;/P&gt;&lt;P&gt;In your dashboard, you can either use loadjob or savedsearch command to load the most recent saved search report to diplay or you can make searches from the summary index.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 03:29:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/632469#M219706</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-02-28T03:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create summary index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/633500#M220053</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;, i have created the query, and i have created a new summary index in indexs.conf&lt;BR /&gt;&lt;BR /&gt;Now what i should create a report and now how i can send the send data to summary index,&lt;BR /&gt;Do i need to add like collect at the end of my query??&lt;BR /&gt;Do i need to create a 2 reports one for daily and that daily data need to be added in summary index??&lt;BR /&gt;&lt;BR /&gt;I am completely new to this part, not sure how to make the connection between my query and summaryindex.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 22:55:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/633500#M220053</guid>
      <dc:creator>Vani_26</dc:creator>
      <dc:date>2023-03-06T22:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create summary index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/633505#M220055</link>
      <description>&lt;P&gt;In the report, you have an option to edit summary indexing&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bowesmana_0-1678144316135.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24219iF02C2A0D64140604/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bowesmana_0-1678144316135.png" alt="bowesmana_0-1678144316135.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can do it this way, which is the simplest, or you can look at the collect command and do it yourself.&lt;/P&gt;&lt;P&gt;So, your report should produce all the data you want to store.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the purpose of the summary index? Is it so that the dashboard can search that summary index instead of the raw data?&lt;/P&gt;&lt;P&gt;If so, you can make a single search that reports on all the data you want to record and then in your dashboard you can just pick the piece of data you need for each panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 23:14:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/633505#M220055</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-03-06T23:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create summary index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/673984#M230728</link>
      <description>&lt;P&gt;more screen shot sure would help - where is that? I can see stuff like Edit Description/Permissions/etc. but not Edit Summary Indexing&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 20:56:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/673984#M230728</guid>
      <dc:creator>gerrysr6</dc:creator>
      <dc:date>2024-01-11T20:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create summary index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/674006#M230735</link>
      <description>&lt;P&gt;Maybe you don't have permission to do summary indexing, but that option is in the searches, reports and alerts&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 02:28:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-summary-index/m-p/674006#M230735</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-01-12T02:28:18Z</dc:date>
    </item>
  </channel>
</rss>

