Summary indexing is a method you can use to speed up long-running searches that do not qualify for report acceleration, such as searches that use commands that are not streamable before the reporting command. For more information, see "About report accelleration and summary indexing" and "Use summary indexing for increased reporting efficiency" in the Knowledge Manager Manual.
sitimechart command is the summary indexing version of the
timechart command, which creates a time-series chart visualization with the corresponding table of statistics. The
sitimechart command populates a summary index with the statistics necessary to generate a timechart report. After you populate the summary index, use the regular
timechart command with the exact same search string as the
sitimechart command search to report against it.
sitimechart [sep=<string>] [partial=<bool>] [cont=<bool>] [limit=<int>] [agg=<stats-agg-term>] [<bin-options>... ] (<single-agg> [BY <split-by-clause>] ) | (<eval-expression> BY <split-by-clause>)
For syntax descriptions, refer to the timechart command.
For information about functions that you can use with the
timechart command, see Statistical and charting functions.
Compute the necessary information to later do 'timechart avg(foo) by bar' on summary indexed results.
... | sitimechart avg(foo) by bar
Have questions? Visit Splunk Answers and see what questions and answers the Splunk community has using the sitimechart command.
This documentation applies to the following versions of Splunk Cloud™: 6.6.3, 7.0.0, 7.0.3, 7.0.5, 7.0.2, 7.0.8, 7.1.3, 7.1.6, 7.2.3, 7.2.4, 7.2.6