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

ship system logs to cloudwatch #514

Closed
errordeveloper opened this issue Feb 6, 2019 · 4 comments
Closed

ship system logs to cloudwatch #514

errordeveloper opened this issue Feb 6, 2019 · 4 comments
Labels
priority/backlog Not staffed at the moment. Help wanted. stale

Comments

@errordeveloper
Copy link
Contributor

We need a way to make troubleshooting node bootstrap without having to enable SSH, and this would be useful generally also. Mostly we just need cloud-init logs and kubelet logs, but if we could ship the entire journal, it could be handy. We consider using journald's built-in exporter capability (which will not require us to use any storage).

@mumoshu
Copy link
Contributor

mumoshu commented Feb 12, 2019

@errordeveloper Sounds great 👍

FYI, I've been using journald-cloudwatch-logs for 2 years or so without any issue.

https://github.com/kubernetes-incubator/kube-aws/blob/master/docs/add-ons/journald-logging-to-cloudwatch.md

@errordeveloper
Copy link
Contributor Author

@mumoshu it'd be nice if we could actually run something outside of kubelet, so that we can use it to debug nodes that fail to join. It'd be great if we didn't have to introduce new software, so I was thinking of systemd-journal-gatewayd, but that will require an additional connector for shipping the logs to cloudwatch (unless we just let it serve them over HTTP, accessible inside the VPC...).
Alternatively, we could consider a few options, like use systemd-journal-gatewayd with Lambda function to import the logs into CloudWatch, or even use docker run --log-driver=awslogs and run a process that reads out the journal inside of that container (yet that's not too different from docker run jollinshead/journald-cloudwatch-logs). However depending on Docker for this is not particularly exciting either, as switching to containerd must soon become possible. So I'm quite puzzled.

@martina-if martina-if added the priority/backlog Not staffed at the moment. Help wanted. label Sep 15, 2020
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Jan 27, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2021

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as completed Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/backlog Not staffed at the moment. Help wanted. stale
Projects
None yet
Development

No branches or pull requests

3 participants