2c7d53e5fb
Why I did it Need to share docker image for telemetry and gnmi, and only use telemetry container for 202305 branch Work item tracking Microsoft ADO (number only): How I did it Add a new docker image, base-gnmi, build sonic-gnmi and sonic-telemetry on this docker image. Enable telemetry container. How to verify it Run end to end test for telemetry and gnmi.
31 lines
531 B
Plaintext
31 lines
531 B
Plaintext
## Quagga rules
|
|
|
|
if re_match($programname, "bgp[0-9]*#(frr|zebra|staticd|watchfrr)") then {
|
|
/var/log/frr/zebra.log
|
|
stop
|
|
}
|
|
|
|
if re_match($programname, "bgp[0-9]*#bgpd") then {
|
|
/var/log/frr/bgpd.log
|
|
stop
|
|
}
|
|
|
|
## Teamd rules
|
|
|
|
if $programname contains "teamd_" then {
|
|
/var/log/teamd.log
|
|
stop
|
|
}
|
|
|
|
## gnmi rules
|
|
if $msg startswith " gnmi-native" then {
|
|
/var/log/gnmi.log
|
|
stop
|
|
}
|
|
|
|
## telemetry rules
|
|
if $msg startswith " telemetry" or ($msg startswith " dialout" )then {
|
|
/var/log/telemetry.log
|
|
stop
|
|
}
|