sonic-buildimage/files/image_config/rsyslog
Yevhen Fastiuk 4602d30a73
[syslog] Add remote syslog configuration (cherry-pick to 202305) (#15897)
cherry-pick: #14513
depends: https://github.com/sonic-net/sonic-utilities/pull/2939

* Add an ability to configure remote syslog servers
* Add an initial configuration for remote syslog
* Extend YANG module and add unit tests

#### Why I did it
Adding the following functionality to rsyslog feature:

* Configure remote syslog servers: protocol, filter, severity level
* Update global syslog configuration: severity level, message format

#### How I did it
added parameters to syslog server and global configuration.

#### How to verify it
create syslog server using CLI/adding to Redis-DB
verify server is added to file /etc/rsyslog.conf and server is functional.

#### Description for the changelog
extend rsyslog capabilities, added server and global configuration parameters.

#### Link to config_db schema for YANG module changes
[sonic-syslog.yang](https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-syslog.yang)
2023-08-14 13:12:33 -07:00
..
rsyslog.d Move frr logs from syslog to /var/log/frr/*.log (#5988) 2020-12-10 08:44:34 -08:00
rsyslog-config.service rsyslog to start after interfaces-config (#13503) 2023-01-26 20:39:13 -08:00
rsyslog-config.sh [syslog] Add remote syslog configuration (cherry-pick to 202305) (#15897) 2023-08-14 13:12:33 -07:00
rsyslog-container.conf.j2 Fix rsyslogd start failed cause by rsyslog.conf is emtpy. (#13669) 2023-02-06 16:38:04 +02:00
rsyslog.conf.j2 [syslog] Add remote syslog configuration (cherry-pick to 202305) (#15897) 2023-08-14 13:12:33 -07:00