Splunk Search

"Error in 'tstats' command: This command is not supported in a real-time search"

spammenot66
Contributor

I currently have a working tstats search, but when I use real-time, it returns the following error:

Error in 'tstats' command: This command is not supported in a real-time search
0 Karma
1 Solution

woodcock
Esteemed Legend

Not only will it never work but it doesn't even make sense how it could. Use stats instead and have it operate on the events as they come in to your real-time window. Better yet, do not use real-time! It almost certainly will not give you what you desire and it will crater the performance of your splunk cluster.

View solution in original post

woodcock
Esteemed Legend

Not only will it never work but it doesn't even make sense how it could. Use stats instead and have it operate on the events as they come in to your real-time window. Better yet, do not use real-time! It almost certainly will not give you what you desire and it will crater the performance of your splunk cluster.

spammenot66
Contributor

Thanks for the info

0 Karma

somesoni2
SplunkTrust
SplunkTrust

The error message explains it all. Searches with tstats can't be used for real-time searches. What is your requirement here?

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...