Where do i put my elastic:password or admin:password in ‘/etc/graylog/server/server.conf’ should I put it in ‘elasticsearch_hosts’? Unfortunately I couldn’t find any documents about it. I’d appreciate if you share with me.
Rocky Linux 9, Graylog 5, Opensearch 2.0.1, MongoDB 6
You are correct. The elasticsearch_hosts option takes basic authentication, we do have an example in the docs for Elasticsearch, but it hasn’t quite made it across to the OpenSearch section yet.