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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...