Knowledge Management

stash_new file is not written to summary index

aluetjen
Explorer

I created a summary index summary_example.

Using the 'collect' command I wrote events into a stash_new file.

SomeSearch | sitimechart span=1h max(SomeMetric) by Name | collect index=summary_example

I receive a message that the file has been successfully written:

Changing file extension to .stash_new for file=$random$_events.stash

Successfully wrote file to '106082206_events.stash_new'.

However, the search result does not appear in the index.

I searched index=_internal "106082206_events.stash_new" but didn't receive any events (other than the events to the search on the internal index itself).

How can I trouble shoot?

Tags (2)
0 Karma

aluetjen
Explorer

Restart of splunk solved the issue.

I searched the internal internal index for the summary index name and noticed that splunk wasn't happy to load the new index.

pacrip
Path Finder

Hi all, Im seeing similar behaviour to this in my 6.3 instance, is it meant to act like this? Its not ideal to have to repair the bucket every time you add new summary indexed events...

0 Karma

ahofmann
Explorer

Did you ever find out any more info on this? I'm having the same issue, solved by a restart.

0 Karma
Get Updates on the Splunk Community!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

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

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...