Splunk Enterprise

using tstats in summary index

mcohen13
Loves-to-Learn

Hi

I have created a summary index from an existing index using tstats

but, when I try to use tstats directly on the data in the summary index it doesn't work, I can only using stats

is there a reason or a workaround?

0 Karma

tscroggins
Influencer

@mcohen13 

How did you create the summary index?

0 Karma

mcohen13
Loves-to-Learn

I'm using tstats for creating the data for the summary index

0 Karma

tscroggins
Influencer

@mcohen13 

tstats reads data from tsidx files, but it doesn't create them. Can you provide more detailed examples?

0 Karma

mcohen13
Loves-to-Learn

I am using the following search template to create the summary index:

| tstats count as event_count where (index="<index name>")
by <fields> _time span=1d
| stats sum(event_count) as event_count
by <fields>

0 Karma
Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...