How to get logs of multiple hostnames using scoll api

hi all , is it possible to pass multiple hosts in scroll api , i want to get multiple logs from multiple hosts using scroll request

           url = '{0}/{1}/_search?scroll=1m&ignore_unavailable=true'.format(
        ES_HOST, es_index , hosts - like this 


or is there a wildcard kind of thig we can use here

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.