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!

Enterprise Security Content Update (ESCU) | New Releases

In January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

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

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...