Knowledge Management

How to get the mapping relationship between data models and indexes?

Iris_Pi
Path Finder

Hello Guys,

I wonder if there's any query that can list the mapping information between the existing  data models and indexes? I would like to use these info to set index constrains for data models to speed up searching.

Thanks & Regards,
Iris

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Use this query to find out which indexes are used by a data model.

| tstats count from datamodel=foo by index
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...