-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
logging with Graylog #11814
Comments
Hi @mehdiMj-ir! This falls into the same sort of bucket as #10220 and #9211 to extend Nomad to support some kind of logging plugin (cc @mikenomitch just a heads up that this has come up a few times now). I'm going to keep this issue open for further discussion and roadmapping. But in the meantime, you mentioned you're using the job "example" {
datacenters = ["dc1"]
group "cache" {
network {
port "db" {
to = 6379
}
}
task "redis" {
driver = "docker"
config {
image = "redis:3.2"
ports = ["db"]
logging {
type = "gelf"
config {
gelf-address = "udp://localhost:12201"
}
}
}
resources {
cpu = 500
memory = 256
}
}
}
} |
THANK YOU, VERY VERY MUCH.I was about to setup |
Hey @mehdiMj-ir thanks for the issue. I am going to close this one out in favor of the more generic #10220 and #9211 - the link to this issue will stick around though so whenever we pick those us we'll be able to include this request for context. |
How to send the entire log message from nomad job to graylog? |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Hi, Hope 2022 be a good year
Proposal
A Graylog driver for Nomad to ship and sent containers logs to Graylog.
Use-cases
This will help me to monitor and visualize logs for users without giving Nomad UI access to Developers. (I will keep Nomad to myself😈)
Attempted Solutions
I currently install
rsyslog
on my docker containers and then syslog push logs to my Graylog server.But a nice Driver and more logging option would be a great help.
The text was updated successfully, but these errors were encountered: