Knowledge Management

Why can I not save to summary index using sistats?

robertosegantin
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

inventsekar
Super 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
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!