Splunk Search

what is the difference between summary indexing and data models?

Day
Engager

Hi 🙂 i'm new hier and i still don't understand the difference between summary indexing and data modeling.

When should I use each? Or which is the best option for optimizing searches?

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @Day,

they are both ways to accelerate searches when you have to use structured fields (searches using fields, not full text searches.

they both use schedule searches to take events from the raw logs

Data Models use DB tables, instead Summary indexes are standard Splunk indexes containing the extracted fields.

You can accelerate Data Models.

for more infos see at 

https://docs.splunk.com/Documentation/Splunk/9.1.1/Knowledge/Aboutsummaryindexing

https://docs.splunk.com/Documentation/Splunk/9.1.1/Knowledge/Aboutdatamodels

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @Day,

they are both ways to accelerate searches when you have to use structured fields (searches using fields, not full text searches.

they both use schedule searches to take events from the raw logs

Data Models use DB tables, instead Summary indexes are standard Splunk indexes containing the extracted fields.

You can accelerate Data Models.

for more infos see at 

https://docs.splunk.com/Documentation/Splunk/9.1.1/Knowledge/Aboutsummaryindexing

https://docs.splunk.com/Documentation/Splunk/9.1.1/Knowledge/Aboutdatamodels

Ciao.

Giuseppe

ITWhisperer
SplunkTrust
SplunkTrust

It depends on your data and what you are trying to get from it. It also depends on what sort of optimisation you are trying to achieve, e.g. speed, length of SPL, size of configuration data, maintenance overhead, etc.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...