Knowledge Management

When summary indexing job completed, the result is not written to defined summary index. It is written to index "main"

daniel_splunk
Splunk Employee
Splunk Employee

When summary index job run completed, the results did't send to index=summary as we setup in schedule search job. But Splunk send summary results to index "main". It had been working before and I didn't change anything.

Tags (1)
0 Karma

daniel_splunk
Splunk Employee
Splunk Employee

When splunk run scheduled job which generate result to summary index, once the result is generated, it will write the result into a temporary directory /opt/splunk/var/spool/splunk with a file suffix stash_new.

(For example, RMD541b14054534417ff_2113273468.stash_new)

Splunk by default will monitor this directory with this stanza.

[batch:///home/daniel/splunk-idx/var/spool/splunk/...stash_new]
sourcetype = stash_new

From your description, as you didn't change the scheduled job, one possibility is the sourcetype = stash_new in props.conf is altered by other stanza.

You can check it by using this btool command.
splunk cmd btool --debug props list stash_new

If the returned result have some configuration from local directory, you may need to check whether that configuration is really for stash_new or not.

One example that may break the summary indexing logic is that you accidentally write the followng into local/props.conf without any stanza. That configure will applied to [stash_new] as well.

cat etc/system/local/props.conf
INDEXED_EXTRACTIONS = CSV 
## As above configure is not under any stanza, it will apply to all other stanza. Don't configure like this.
0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...