How to show all data in one panel

I use telegraf to collect machine data and store them in influxdb.
Then I want to see all the cpu info in one panel graph. But I don’t know how to get all machine data in one query. Now I can only get one machine data in a query. Like this:


If I want to see all machines’ data, I need to duplicate this query many times and change the host value. And if I want to see cpu.idle and cpu.user and so on, that will be horrible.
Is there a way to do it easier?
Thank you!