Knowledge Management
Highlighted

Why can I not save to summary index using sistats?

Path Finder

I'm on Splunk Enterprise 6.6.1.
I run this search

| makeresults 
| eval _time=now() 
| bucket span=1d _time
| eval value=1 
| sistats avg(value) as value by _time

But I'm not able to save its result to summary index.

I've also tried to run it inside a report, which I've run it manually, but I obtained the same behaviour.

Why?

0 Karma
Highlighted

Re: Why can I not save to summary index using sistats?

Champion

i think summary index should exist before hand..
The summary indexes exist separately from your main indexes.

After you create the summary index, create a report by running a search against the summary index. You use the exact same search string that you used to populate the summary index, substituting the stats command for the sistats command, to create your reports.

http://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Sistats

0 Karma