-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[kubernetes] Capture json output for nodes #3509
base: main
Are you sure you want to change the base?
Conversation
This is a result of the conversation from the issue linked above. I'm not sure about changing the output directly to json, I think it may be better to have json and default output, but I've opened this so we can discuss either option. |
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we are changing the formatted string, could we move to f-string already..?
json outputs are easier to parse than the default output, so lets capture these. Resolves: sosreport#3484 Co-authored-by: Hervé CHIBOIS <[email protected]> Signed-off-by: Jose Castillo <[email protected]>
44c2044
to
3d38287
Compare
so we are using Personally, if I am looking at it, I would ideally look at the standard output, and then potentially if parsing through |
That's what I was thinking, to gather both. In this case we don't lose any data and users and scripts can process both without having to transform what we currently capture. Only thing I'd modify perhaps is to add the jsons in a specific directory but that may break things now. So, both 'normal' and 'json' in the same directories where they are captured? |
Sure you should keep both format "TEXT" and "JSON" depending of who is dealing with logs (human or machine) |
json outputs are easier to parse than the default
output, so lets capture these.
Resolves: #3484
Co-authored-by: Hervé CHIBOIS
Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines