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.

lemikg
Communicator

Super. Besten Dank.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...