<?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: is it right to use summary index to save non-statistical data? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131818#M1334</link>
    <description>&lt;P&gt;A search that contains a &lt;CODE&gt;transaction&lt;/CODE&gt; command can't be accelerated. But I still think that report acceleration might be a better way to do this. Why are you using the transaction command? I think this might be optimized - quite a lot, actually.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2014 22:57:17 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2014-01-31T22:57:17Z</dc:date>
    <item>
      <title>is it right to use summary index to save non-statistical data?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131815#M1331</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I'm using summary index, but I am not sure if I'm doing it right.&lt;BR /&gt;
I have several searches that save data into my summary index. Some of them are saving statistical data, ie. how many events for each category I found.&lt;BR /&gt;
But I need to speed up some different queries, where I need to display a table with many fields, ie. md5 - process - timestamp - category - etc.&lt;/P&gt;

&lt;P&gt;Is it correct to run a scheduled query that saves data in summary index in that way?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;edit: here is my search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="tcp-raw" type=WSAEXEC OR type=WSAPROCESS
| eval ...
| search ...
| stats count ...
| stats dc(det) AS ...
| eval Category = ...
| table field1, field2, field3....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I did some changes, of couse &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I retrieve the data in my dashboard in this way:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="summary" 
| dedup field1, field2
| stats count by field1, field2
| sort -count
| head 10
| fields field1, field2, ....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;thanks, again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;edit #2:&lt;/P&gt;

&lt;P&gt;here is my new search, only with streamable commands:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="tcp-raw" type=WSAEXEC OR type=WSAPROCESS
| eval ...
| search ...
| stats count ...
| stats dc(det) AS ...
| eval Category = ...
| table field1, field2, field3....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I activated report acceleration with "1 month" summary range. Do I Have to leave empty start time and finish time values in time range?&lt;/P&gt;

&lt;P&gt;How can I retrieve this "accelerated" data now? Just doing the same exact search I accelerated?&lt;/P&gt;

&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2014 15:58:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131815#M1331</guid>
      <dc:creator>RiccardoV</dc:creator>
      <dc:date>2014-01-30T15:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: is it right to use summary index to save non-statistical data?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131816#M1332</link>
      <description>&lt;P&gt;If you want to speed up searches, but not save statistical data, use report acceleration instead of summary indexing. That said, there are rules about which searches can be accelerated.&lt;/P&gt;

&lt;P&gt;Can you show us the actual search that you want to run?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2014 17:01:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131816#M1332</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-01-30T17:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: is it right to use summary index to save non-statistical data?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131817#M1333</link>
      <description>&lt;P&gt;thanks @lguinn for your answer. I've just updated my question with the searches!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2014 09:04:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131817#M1333</guid>
      <dc:creator>RiccardoV</dc:creator>
      <dc:date>2014-01-31T09:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: is it right to use summary index to save non-statistical data?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131818#M1334</link>
      <description>&lt;P&gt;A search that contains a &lt;CODE&gt;transaction&lt;/CODE&gt; command can't be accelerated. But I still think that report acceleration might be a better way to do this. Why are you using the transaction command? I think this might be optimized - quite a lot, actually.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2014 22:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131818#M1334</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-01-31T22:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: is it right to use summary index to save non-statistical data?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131819#M1335</link>
      <description>&lt;P&gt;thanks again for your reply @lguinn!&lt;BR /&gt;
I modified my search and now I'm 100% transaction-free &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I updated the search in first post!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2014 09:49:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131819#M1335</guid>
      <dc:creator>RiccardoV</dc:creator>
      <dc:date>2014-02-03T09:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: is it right to use summary index to save non-statistical data?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131820#M1336</link>
      <description>&lt;P&gt;Edit #2: I updated again my inizial search with only streamable commands and I accelerated my search..please have a look!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2014 15:40:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131820#M1336</guid>
      <dc:creator>RiccardoV</dc:creator>
      <dc:date>2014-02-03T15:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: is it right to use summary index to save non-statistical data?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131821#M1337</link>
      <description>&lt;P&gt;You said "I activated report acceleration with "1 month" summary range. Do I Have to leave empty start time and finish time values in time range?&lt;/P&gt;

&lt;P&gt;How can I retrieve this "accelerated" data now? Just doing the same exact search I accelerated?"&lt;/P&gt;

&lt;P&gt;Answers: &lt;/P&gt;

&lt;P&gt;First, you do &lt;EM&gt;not&lt;/EM&gt; need to leave the start time and finish times empty in the time range. Splunk figures out how to accelerate date in the 1 month range automatically, regardless of the start and finish times.&lt;/P&gt;

&lt;P&gt;Second, whenever you run this search, it will be accelerated. You don't need to do anything more; there are no special steps. In fact, if you run a similar search and Splunk can leverage the underlying acceleration summary, it will!&lt;/P&gt;

&lt;P&gt;Finally, you shouldn't need to do any maintenance on the acceleration summary; Splunk will keep it valid and up to date.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2014 22:43:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131821#M1337</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-02-11T22:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: is it right to use summary index to save non-statistical data?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131822#M1338</link>
      <description>&lt;P&gt;thanks again for you answers @lguinn!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2014 08:36:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/is-it-right-to-use-summary-index-to-save-non-statistical-data/m-p/131822#M1338</guid>
      <dc:creator>RiccardoV</dc:creator>
      <dc:date>2014-02-12T08:36:33Z</dc:date>
    </item>
  </channel>
</rss>

