Splunk Search

Summary Indexing

zubairaizatron
Explorer

Hi Guys

Wanted to know if anyone knows if you can populate a summary index from a data model. the summary index query requires the si* prefix to transforming commands (sistats) but the datamodel search also requires a tstats command so they cannot be used in conjunction

 

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @zubairaizatron,

I'm not sure about your question, but if you want to populate a summary index using the data in a DataModel, you can use your DataModel in a search and at the end, you can put the "collect" command to populate your summary index.

The only question is why?

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @zubairaizatron,

I'm not sure about your question, but if you want to populate a summary index using the data in a DataModel, you can use your DataModel in a search and at the end, you can put the "collect" command to populate your summary index.

The only question is why?

Ciao.

Giuseppe

zubairaizatron
Explorer

as it stands we have a index with high volume, high speed data with a couple of extractions and enrichments from lookups. in order to make the searching faster we usually populate 1 months worth of the data in a data model. however now we need to create a knowledge object that contains stats of that large data index(only some of the fields)

what we have done is extended the data model back to as far as we need the data(April) so that we can extract the needed fields from the data model and then pipe them into a summary index. however I did not know how to stream the results from the data model into the summary index

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...

Casting Call: Compete in Cyber Games

Lights, Camera, SecOps: Apply to Compete in Cyber Games     Think you have what it takes to beat the clock? ...