<?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 build a Splunk alert/report using summary index? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-build-a-Splunk-alert-report-using-summary-index/m-p/500062#M4472</link>
    <description>&lt;P&gt;Currently I am running the below query  to generate a report based on appname,spacename,orgnameand foundation which takes longer to run(for the past 24 hours search). How do I create a summary index to efficiently use this query for faster results?&lt;/P&gt;

&lt;P&gt;sourcetype="pcf:log" &lt;BR /&gt;
| eval report_create_time=strftime(now(), "%Y-%m-%d %H:%M:%S,%3N") &lt;BR /&gt;
| eval spanID_ = coalesce(span_id, SPAN_ID, x_b3_spanid, spanId)&lt;BR /&gt;
|stats count(spanID_) AS spanCount by report_create_time cf_app_name, cf_space_name, cf_org_name, foundation&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 04:42:16 GMT</pubDate>
    <dc:creator>joachimroshan</dc:creator>
    <dc:date>2020-09-30T04:42:16Z</dc:date>
    <item>
      <title>How to build a Splunk alert/report using summary index?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-build-a-Splunk-alert-report-using-summary-index/m-p/500062#M4472</link>
      <description>&lt;P&gt;Currently I am running the below query  to generate a report based on appname,spacename,orgnameand foundation which takes longer to run(for the past 24 hours search). How do I create a summary index to efficiently use this query for faster results?&lt;/P&gt;

&lt;P&gt;sourcetype="pcf:log" &lt;BR /&gt;
| eval report_create_time=strftime(now(), "%Y-%m-%d %H:%M:%S,%3N") &lt;BR /&gt;
| eval spanID_ = coalesce(span_id, SPAN_ID, x_b3_spanid, spanId)&lt;BR /&gt;
|stats count(spanID_) AS spanCount by report_create_time cf_app_name, cf_space_name, cf_org_name, foundation&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:42:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-build-a-Splunk-alert-report-using-summary-index/m-p/500062#M4472</guid>
      <dc:creator>joachimroshan</dc:creator>
      <dc:date>2020-09-30T04:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a Splunk alert/report using summary index?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-build-a-Splunk-alert-report-using-summary-index/m-p/500063#M4473</link>
      <description>&lt;P&gt;Populating the summary index with data is easy.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(your search)| collect index=your_summary_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, it does not mean faster with data.It is only faster because the search is performed periodically and the results are created in advance.&lt;BR /&gt;
There are disadvantages such as the need to recover manually if the regular execution fails.&lt;/P&gt;

&lt;P&gt;It's a good idea to compare the pros and cons with "Accelerate reports".&lt;/P&gt;

&lt;P&gt;I think it's better to "Accelerate reports" that can automatically recover from missing teeth.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.2/Report/Acceleratereports"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.2/Report/Acceleratereports&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 15:20:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-build-a-Splunk-alert-report-using-summary-index/m-p/500063#M4473</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2020-03-25T15:20:02Z</dc:date>
    </item>
  </channel>
</rss>

