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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...