Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Datastreamer Tool JSON Stream #3791

Merged
merged 6 commits into from
Oct 3, 2024

Conversation

praetoriansentry
Copy link
Contributor

What does this PR do?

This is a meant to be a backward compatible change to the data streamer tool to support outputting data in JSON format. By default this command still outputs colorful dot padded output:

go run main.go decode-batch --cfg config/tool.config.toml --batch 489

image

If we add the --json flag, the output should print each entry in a parsable json format

go run main.go decode-batch --cfg config/tool.config.toml --batch 489 --json

image

Would be helpful for leveraging this tool in integrations with other systems and processes.

Reviewers

Main reviewers:

@cla-bot cla-bot bot added the cla-signed label Sep 15, 2024
@praetoriansentry praetoriansentry marked this pull request as ready for review October 1, 2024 20:59
@praetoriansentry praetoriansentry merged commit 596741e into develop Oct 3, 2024
18 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants