|
I have performance data captured with Splunk with fields and data like this:
DatabaseCachePercentHit=0 I need to turn this into a table with the columns: Name,Latest,Max(last 24h),Average How can I use stats to create the same columns for these different fields? And group them each into a row? |
|
Here's one approach. For simplicity, this assumes that your max is calculated over the same time period as your reporting range. It pulls everything into field values rather than field names, since
If your intent was to have the 'Max' value for only the last 24 hours, regardless of the overall search time window, you can mask out the older values:
This works perfectly, exactly what I wanted. Thank you.
(01 Apr '11, 20:29)
jamesklassen
|