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
SplunkTrust
SplunkTrust

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

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma
Get Updates on the Splunk Community!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...