Add datanode information to support bundle #20090
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This adds initial information about data nodes to the support bundle.
Information from the data nodes as stored in mongodb are provided in
datanodes.configured
and status information from the status endpoint of running data nodes is provided indatanodes.running
in the generatedcluster.json
Additionally, the status endpoint now return information about the operating system, java version and user running the data node as well as free disk space available for the configured data node directories.
Motivation and Context
resolves https://github.com/Graylog2/graylog-plugin-enterprise/issues/7966
How Has This Been Tested?
manually by creating a support bundle in System/Logging
Screenshots (if appropriate):
Types of changes
Checklist: