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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...