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

add loki outpt support #39

Merged
merged 2 commits into from
Dec 25, 2020
Merged

add loki outpt support #39

merged 2 commits into from
Dec 25, 2020

Conversation

wanjunlei
Copy link
Collaborator

Signed-off-by: wanjunlei [email protected]

Signed-off-by: wanjunlei <[email protected]>
// The loki output plugin, allows to ingest your records into a Loki service.
type Loki struct {
// Loki hostname or IP address.
Host string `json:"host,omitempty"`
Copy link
Member

@benjaminhuo benjaminhuo Dec 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Host shouldn't be allowed to be empty.
And other items having default values should be set to a default value if they're empty.

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the item is empty, the fluent bit will use the default value, it is no need to set a default value in the config file.

Signed-off-by: wanjunlei <[email protected]>
@benjaminhuo benjaminhuo merged commit 497ecfe into fluent:master Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants