Splunk Search

Combining to source types in one chart

dannux
Path Finder

I am trying to combine 2 different sourcetypes same kind of event (idle CPU) into one chart. Not sure if this is possible. For instance:

sourcetype="estiw_servers-1" and "estiw_servers-2" | timechart span="5m" avg(zCPU_IDLE) by source

What will be the correct syntax?

Many thanks,
Dan

Tags (2)
0 Karma
1 Solution

Ayn
Legend
sourcetype="estiw_servers-1" OR sourcetype="estiw_servers-2" | timechart span="5m" avg(zCPU_IDLE) by source

View solution in original post

Ayn
Legend
sourcetype="estiw_servers-1" OR sourcetype="estiw_servers-2" | timechart span="5m" avg(zCPU_IDLE) by source
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...