hey all iam new to elk , iam trying to get all the hosts in the Elasticsearch db , i tried using a wildcard and
"wild_card": "hosts",
"query": {
"host.keyword": "test*",
"severity.keyword": "err"
},
consider there are multiple hosts like test1,test2,test3 i want to all them to be listed in a query , can someone help me with this