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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...