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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...