Splunk Search

How to integrate separate graphs into one board

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 PercentCPULoad = 100 - pctIdle  | timechart avg(PercentCPULoad) 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

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

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

Communicator

Super. Besten Dank.

0 Karma