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!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...