title: How can multiple results be returned for salt minions
body: <p>I would like to know both a pillar value and the result of a command for all my minions. Is there anyway to combine the result in one call?</p>
  
  <p>I'm looking for something that would work like this</p>
  
  <pre><code>$ salt '*' cmd.run 'systemctl status &lt;process&gt;' pillar.get 'name'
  </code></pre>
  
  <p>Is something like that possible with the salt command? This <a href="https://stackoverflow.com/questions/18092979/how-can-i-aggregate-saltstack-command-results/40046905#40046905">answer</a> mentions the survey.hash runner, that allows aggregating the results by output, but that is the closest I can find.</p>