I want to create a timechart that plots results from two separate searches overlapped in the same chart. An example would be timecharting CPU use along Memory use in the same graph.
If you have the *nix app installed, you can copy/paste this command!
sourcetype=vmstat OR sourcetype=cpu | multikv fields memUsedPct pctIdle | eval CPU_Usage=100-pctIdle | timechart span=10m avg(CPU_Usage) avg(memUsedPct) by host
That gives you a combined timechart (10mins avg.) over CPU & Memory usages per host
View solution in original post
Thanks! the "multikv fields" was the key one.