Getting Data In

Recommendation for segregating data between product test runs

ssledzie
New Member

If I'm doing product testing and wanted to store data from test runs, how would you recommend associating events with a test id/test run id?

Should I annotate the actual log data with a testid?

Should I create a new event type that enumerates every event source for the test run?

Is there a better way I'm not thinking of? Advice is appreciated.

Tags (3)
0 Karma

lukejadamec
Super Champion

Once each test run is complete you can add it with specific identifying information to a single summary index. It is not exactly what a summary index is intended to be used for, but it should work just fine, and you will only have one index that contains all test results with each result essentially tagged with test information. See this doc:

http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Configuresummaryindexes

Once you have transferred the information to the summary index, you can use the delete command on the same search you used to populate the summary to delete the data from the main index. Be sure to read the info on the delete command!

http://docs.splunk.com/Documentation/Splunk/6.0.1/SearchReference/Delete

0 Karma

ssledzie
New Member

Okay let me think about that. It seems like a feasible solution. Thanks.

0 Karma

somesoni2
SplunkTrust
SplunkTrust

I am using around 150+ indexes and don't see any issues with it. There benefits like I can handle accessibility on the data more easily as I can define different roles for different indexes

0 Karma

ssledzie
New Member

Is there a drawback to creating many indexes? Hundreds possibly?

0 Karma

somesoni2
SplunkTrust
SplunkTrust

I would suggest storing the data in separate index so that it can be removed easily later.

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