Splunk Search

How can a send a simple test event to my new index to test that it is functioning properly?

the_wolverine
Champion

I have spun up a new index in Production and want to quickly test that it is properly configured. I'd like to confirm this before my source starts sending data to it. What are some ways I could test that the index is properly configured and able to accept data?

Ideally I would like to test it without having to restart any of my servers.

Tags (2)
0 Karma
1 Solution

the_wolverine
Champion

Use summaryindex to inject some events into your new index by running the following search -- modify for your use case:

index=_internal | head 10 | summaryindex spool=t uselb=t addtime=t index="my_new_index" name=“test inject”

View solution in original post

the_wolverine
Champion

Use summaryindex to inject some events into your new index by running the following search -- modify for your use case:

index=_internal | head 10 | summaryindex spool=t uselb=t addtime=t index="my_new_index" name=“test inject”

Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...