-
Notifications
You must be signed in to change notification settings - Fork 43
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 support for additional log drivers #1126
Comments
@haircommander @saschagrunert are there resources (links, code files etc) one can look at to understand this issue much better? |
Hey, most of the container log driver abstraction lives in conmon-rs/conmon-rs/server/src/container_log.rs Lines 12 to 19 in 634fd10
Means we would require to adapt this part, the cap n proto interface conmon-rs/conmon-rs/common/proto/conmon.capnp Lines 42 to 56 in 634fd10
as well as the client including testing conmon-rs/pkg/client/client.go Lines 632 to 652 in 634fd10
|
Hi, I'm interested in this idea. I've just I wonder the works to be done is to reformat the output |
Hi, I'm interested in this project. I'm currently not so familiar with the details in conmon-rs. However, from the structure of the code, I guess the works to be done in this project is to implement different loggers like the Hope to join and finish this project. |
@haircommander I have experience in rust and containerization and this issue seems like a good way to go about that. I would like to take this up under LFX term 3. Can you just a bit elaborate on what kind of output is desired |
thanks for your interest @aashi-ihsaa ! for this one, there are three different goals, all of which are going to be on the server side:
the client pieces should easily follow |
I am interested in this issue under LFX sep term |
@haircommander Can you give some guidance on what to look up for, so that I could've a better understanding of this issue. |
the resulting output will be equivalent log driver behavior to Docker's https://docs.docker.com/config/containers/logging/configure/ for some or all of the aforementioned drivers |
Do you have any more resources? I can look up to @haircommander |
what level is your understanding of the ecosystem @octonawish-akcodes ? |
hello @haircommander @saschagrunert , i tried to understand the functions for the criologger and read the docker docs ,and tried to write the same for the json logger (also i couldnt get the crio setup locally to test this out with conmon , so , its just skimming on the codebase i read and tried to understand) ihope things work this way and for journald logger too , also i couldnt understand the client side testing
Tho i am not sure with the implementaion of json logger (so left the functions empty)
|
Hey @haircommander LFX Fall 23 applicant here, I would like to contribute to this project as I have working knowledge of Rust and containerization. We just need to create new separate modules for each and support logs formatting say for JSON we need to format logs data to JSON including metadata and timestamps similarly for Journald and splunk. |
Hey there @haircommander, |
Currently CRI format is the only one supported. At minimum long term, json-file and journald should also be added. #482 tracks adding splunk as a log driver as well
The text was updated successfully, but these errors were encountered: