We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c68b43 commit af1f748Copy full SHA for af1f748
Performance Monitoring/splunk-searches/sysmetric-pct-busy
@@ -0,0 +1,8 @@
1
+index=orcl-performance (METRIC_NAME="Average Active Sessions" OR METRIC_NAME = "CPU_COUNT")
2
+| eval aas=if(METRIC_NAME="Average Active Sessions",VALUE,null)
3
+| eval cpu_count=if(METRIC_NAME="CPU_COUNT",VALUE,null)
4
+| stats max(aas) as aas,max(cpu_count) as cpu_count by _time
5
+| eval pct_busy=round(((aas/cpu_count)*100),1)
6
+| eval pct_busy=if(pct_busy > 100,100,pct_busy)
7
+| fields - aas,cpu_count
8
+| sort - _time
0 commit comments