Skip to content

ability to configure syslog without deleting (creating a new) VCH #8501

@qxmips

Description

@qxmips

Summary

Is it possible to add --syslog-address option to vic-machine configure or allow to send container logs to syslog server when VCH --syslog-address option is not spesified during creation?

User statement(s)

trying to send logs from containers to syslog (logstash)

docker run --rm -d --name docker-nginx -p 8998:80  --log-driver=syslog --log-opt syslog-address=tcp://logstash_ip:5140 --log-opt tag="nginx-vic"  nginx

but inspect still shows "json-file", not syslog.

 "LogConfig": {
                "Type": "json-file",
                "Config": {
                    "syslog-address": "tcp://logstash_ip:5140",
                    "tag": "nginx-vic"

Im able to send logs to syslog when creating a VCH with --syslog-address option. but My VCHes were created without --syslog-address . delete-recreate new need to complete wipeout all containers and deploy new is not an option at the moment.

Details

See also

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions