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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...