I'm trying to send request from my laravel application to my elasticsearch node to get an index but the application return Elasticsearch \ Common \ Exceptions \ Forbidden403Exception (403)
This is my php code:
$client = ClientBuilder::create()->build();
$params = ['index' =>'$message'];
$response = $client->indices()->getSettings($params);
print_r($response);