Skip to content
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

JSON output mode #3

Closed
umputun opened this issue Apr 9, 2018 · 1 comment
Closed

JSON output mode #3

umputun opened this issue Apr 9, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@umputun
Copy link
Owner

umputun commented Apr 9, 2018

Add new parameter -j / --json (env JSON) to convert messages into JSON format

type jMsg struct {
	Msg       string    `json:"msg"`
	Container string    `json:"container"`
	Group     string    `json:"group"`
	TS        time.Time `json:"ts"`
	Host      string    `json:"host"`
}

By default, it will be off.

@umputun umputun added the enhancement New feature or request label Apr 9, 2018
@umputun umputun self-assigned this Apr 9, 2018
@umputun
Copy link
Owner Author

umputun commented Apr 9, 2018

Done in develop branch 27b07cc

umputun added a commit that referenced this issue Apr 9, 2018
@umputun umputun closed this as completed Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant