Problem Definition
While troubleshooting Elasticsearch related issues, some of the information are not added to the Bitbucket Server logs and the Support Zip.
By having the Elasticsearch details added to the logs and the Support Zip, the troubleshooting of an issue would be easier.
Suggested Solution
For customers using their own Elasticsearch instances, it would be helpful to get more information about their Elasticsearch instance in Bitbucket Server Support Zip, like:
- Elasticsearch URL and port

- Elasticsearch Version (in logs)
- Whether it's an embedded or external Elasticsearch instance

- Username used to connect to the Elasticsearch instance

A flag specifying if the bundled or a remote Elasticsearch is used would be useful as well.