Unable to configure elasticsearch in librenms, please provide any suggestions

Getting the following error after implemented elasticsearch in librenms
production.ERROR: Class ‘Elasticsearch\ClientBuilder’ not found {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class ‘Elasticsearch\ClientBuilder’ not found at /opt/librenms/config.php:46)