yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #35765
[Bug 1478103] [NEW] need support for configuring syslog
Public bug reported:
in order to instruct a host to easily log syslog information to another
system, we need to add a cloud-config format for this.
The format to use looks like this:
## syslog module allows you to configure the systems syslog.
## configuration of syslog is under the top level cloud-config
## entry 'syslog'.
##
## "remotes"
## remotes is a dictionary. items are of 'name: remote_info'
## name is simply a name (example 'maas'). It has no importance other than
## for cloud-init merging configs
##
## remote_info is of the format
## * optional filter for log messages
## default if not present: *.*
## * optional leading '@' or '@@' (indicates udp or tcp).
## default if not present (udp): @
## This is rsyslog format for that. if not present, is '@' which is udp
## * ipv4 or ipv6 or hostname
## ipv6 addresses must be encoded in [::1] format. example: @[fd00::1]:514
## * optional port
## port defaults to 514
##
## Example:
#cloud-config
syslog:
remotes:
# udp to host 'maas.mydomain' port 514
maashost: maas.mydomain
# udp to ipv4 host on port 514
maas: "@[10.5.1.56]:514"
# tcp to host ipv6 host on port 555
maasipv6: "*.* @@[FE80::0202:B3FF:FE1E:8329]:555"
** Affects: cloud-init
Importance: Undecided
Status: New
** Description changed:
in order to instruct a host to easily log syslog information to another
system, we need to add a cloud-config format for this.
The format to use looks like this:
## syslog module allows you to configure the systems syslog.
+ ## configuration of syslog is under the top level cloud-config
+ ## entry 'syslog'.
##
- ## a.) "remotes"
+ ## "remotes"
## remotes is a dictionary. items are of 'name: remote_info'
## name is simply a name (example 'maas'). It has no importance other than
## for cloud-init merging configs
##
## remote_info is of the format
## * optional filter for log messages
## default if not present: *.*
## * optional leading '@' or '@@' (indicates udp or tcp).
## default if not present (udp): @
## This is rsyslog format for that. if not present, is '@' which is udp
## * ipv4 or ipv6 or hostname
## ipv6 addresses must be encoded in [::1] format. example: @[fd00::1]:514
## * optional port
## port defaults to 514
##
## Example:
+ #cloud-config
syslog:
- remotes:
- # udp to host 'maas.mydomain' port 514
- maashost: maas.mydomain
- # udp to ipv4 host on port 514
- maas: "@[10.5.1.56]:514"
- # tcp to host ipv6 host on port 555
- maasipv6: "*.* @@[FE80::0202:B3FF:FE1E:8329]:555"
+ remotes:
+ # udp to host 'maas.mydomain' port 514
+ maashost: maas.mydomain
+ # udp to ipv4 host on port 514
+ maas: "@[10.5.1.56]:514"
+ # tcp to host ipv6 host on port 555
+ maasipv6: "*.* @@[FE80::0202:B3FF:FE1E:8329]:555"
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1478103
Title:
need support for configuring syslog
Status in cloud-init:
New
Bug description:
in order to instruct a host to easily log syslog information to
another system, we need to add a cloud-config format for this.
The format to use looks like this:
## syslog module allows you to configure the systems syslog.
## configuration of syslog is under the top level cloud-config
## entry 'syslog'.
##
## "remotes"
## remotes is a dictionary. items are of 'name: remote_info'
## name is simply a name (example 'maas'). It has no importance other than
## for cloud-init merging configs
##
## remote_info is of the format
## * optional filter for log messages
## default if not present: *.*
## * optional leading '@' or '@@' (indicates udp or tcp).
## default if not present (udp): @
## This is rsyslog format for that. if not present, is '@' which is udp
## * ipv4 or ipv6 or hostname
## ipv6 addresses must be encoded in [::1] format. example: @[fd00::1]:514
## * optional port
## port defaults to 514
##
## Example:
#cloud-config
syslog:
remotes:
# udp to host 'maas.mydomain' port 514
maashost: maas.mydomain
# udp to ipv4 host on port 514
maas: "@[10.5.1.56]:514"
# tcp to host ipv6 host on port 555
maasipv6: "*.* @@[FE80::0202:B3FF:FE1E:8329]:555"
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1478103/+subscriptions
Follow ups