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

Stanza retries forever when log entry is too big for Google Cloud Logging #257

Closed
jsirianni opened this issue Feb 26, 2021 · 1 comment · Fixed by #263
Closed

Stanza retries forever when log entry is too big for Google Cloud Logging #257

jsirianni opened this issue Feb 26, 2021 · 1 comment · Fixed by #263
Assignees
Labels
enhancement New feature or request

Comments

@jsirianni
Copy link
Member

Describe the bug

I see this occasionally while using the vcenter plugin. The error repeats over and over in the log.

{"level":"warn","timestamp":"2021-02-26T18:24:54.777-0500","message":"Failed flushing chunk. Waiting before retry","error":"rpc error: code = InvalidArgument desc = Log entry with size 256.4K exceeds maximum size of 256.0K","wait_time":21.213547168}

If I stop stanza, delete stanza.db, and restart stanza, the error does not show up for a while. Indicating that only a few log entries are too large. Google Cloud Logging console shows plenty of log activity.

To Reproduce
Steps to reproduce the behavior:

  1. Use syslog input
  2. Use Google Cloud output
  3. Send a very large message to stanza ( I am working on an easy way to do this )

Expected behavior

Stanza should handle messages that are too large for Google Output, either by breaking them up or dropping them and logging a warning or error.

@jsirianni jsirianni added the enhancement New feature or request label Feb 26, 2021
@jsirianni jsirianni self-assigned this Feb 26, 2021
@jsirianni
Copy link
Member Author

Possibly unrelated, and requires its own issue. I created a large single line file, and sent it to stanza's tcp listening port. I seem to have crashed stanza in a way that prevents me from stopping and starting. I rebooted the VM only to find it hanging during shutdown:

Screen Shot 2021-02-26 at 6 54 26 PM

I filed an issue related to systemd #258.

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

Successfully merging a pull request may close this issue.

1 participant