Splunk Search

How to integrate separate graphs into one board

lemikg
Communicator

Hi Splunkers

I have two searches I want to compare, but unfortunately can't find my way around it.

First is: CPU load by host

index=os sourcetype=cpu host="$selectedHost$"| multikv fields pctIdle  | eval Percent_CPU_Load = 100 - pctIdle  | timechart avg(Percent_CPU_Load) by host

and second: System load by host

index=os sourcetype=vmstat host="$selectedHost$" | multikv fields loadAvg1mi | timechart avg(loadAvg1mi) by host | sort _time

Can anyone help me here or point me at the right direction?

Thanks in advance

best regards

Mike

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Assuming the time ranges, bucket sizes, and order is the same you can merge those two using appendcols... alternatively, join them by time. You'll just have to take care of the field names, both likely have the same set.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Assuming the time ranges, bucket sizes, and order is the same you can merge those two using appendcols... alternatively, join them by time. You'll just have to take care of the field names, both likely have the same set.

View solution in original post

lemikg
Communicator

Super. Besten Dank.

0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.