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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...