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
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

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