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

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...