i want to check the versions of all the splunk universal forwarders which are before 4.2 version in my existing environment. do you have accurate query for it?
Thanks in Advance
Check this answer out.