Hello,
I have an array and need to pass it's value to the query to be fetched.
$params=[
'index' => 'logstash-2017.08.14',
'type' => 'xms_api_station_info',
'body' => [
'query'=> [
'bool'=> [
'must'=> [
'match'=>[
'stationIpAddress'=> '.$newArray[0].'
]
]
]
]
]
];
$results = $client->search($params);
Thanks,