Splunk Search

How to get average, max TPS by Method

sg86sourav
New Member

Hi,

I am looking for splunk query which can give average, max and 90th percentile value of transactions per second (TPS) for each of the methods. I am looking a table in below format-

Method Name -- Avg TPS -- Max TPS -- 90th Percentile TPS -- Total Sample
Method1 -- ? -- ? -- ? -- ?
Method2 -- ? -- ? -- ? -- ?
Method3 -- ? -- ? -- ? -- ?
Method4 -- ? -- ? -- ? -- ?

Tags (1)
0 Karma

xpac
SplunkTrust
SplunkTrust

Try this:

index=something yoursearchhere
| stats avg(TPS) AS "Avg TPS" max(TPS) AS "Max TPS" perc90(TPS) AS "90th Percentile TPS" count(TPS) as "Total Sample" by method
0 Karma

sg86sourav
New Member

What is TPS ? Is it a inbuild field ?

0 Karma

xpac
SplunkTrust
SplunkTrust

Sorry, that was a misunderstanding, I thought that was a field from your events. What do you mean by transactions? Events?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...