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!

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 ...