Integrating graylog 5 with opensearch security

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.

So you can use something like:

elasticsearch_hosts = https://node1:9200,https://user:password@node2:19200

You can see this example in Elasticsearch Versions but it is a little bite hidden.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.