Knowledge Management

limits on "action.summary.index" vs piping to "collect"

gkanapathy
Splunk Employee
Splunk Employee

I've found that if I have a summarizing search using "stats" and I schedule it via the UI and use the "enable summary indexing" checkbox (or equivalently, use the "action.summary_index" setting in savedsearches.conf), then my summary is limited 10,000 results. (Presumably because that's all that is getting passed from the search to the implicit "summary_index" command.) However, if I take the same search, don't use the checkbox, and instead modify my search and append "| collect addtime=true index=summary" to it, this limit does not exist (or at least is set much higher).

Is this a bug, or intended? It's nice to have the workaround when I need more than 10,000 results in a summary, but there's not documentation or setting I can find that affects the checkbox/"action.summary_index".

Tags (2)
1 Solution

Stephen_Sorkin
Splunk Employee
Splunk Employee

This is a limitation in the alert actions system which invokes the "collect" command. In an upcoming maintenance release (likely 4.1.4), the default for summary indexing will be to automatically inline the "collect" command to eliminate this limit.

Until then, if each run of summarization yields more than 10k results, your best bet is to "| collect" in your scheduled search itself.

View solution in original post

Stephen_Sorkin
Splunk Employee
Splunk Employee

This is a limitation in the alert actions system which invokes the "collect" command. In an upcoming maintenance release (likely 4.1.4), the default for summary indexing will be to automatically inline the "collect" command to eliminate this limit.

Until then, if each run of summarization yields more than 10k results, your best bet is to "| collect" in your scheduled search itself.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...