Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
Expand all | Collapse all

Does rsyslog 8.19.50.1 support ratelimit ? I found the following setting was invalid with errors:

  • 1.  Does rsyslog 8.19.50.1 support ratelimit ? I found the following setting was invalid with errors:

    Posted Wed April 06, 2022 09:04 PM
    Inside rsyslog.conf:

    input(type="imfile"
    File="/home/log/errorlog_2.log"
    Tag="File2"
    addMetadata="on"
    reopenOnTruncate="on"
    PersistStateInterval="0"
    Ratelimit.interval="10"
    RateLimit.Burst="500"
    Facility="local6"
    Severity="notice")

    Errors in console log:

    220330 165000 CONSOLE_LOG T2 rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 57: parameter 'RateLimit.Burst' not known -- typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ] [URM]
    220330 165000 CONSOLE_LOG T2 rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 57: parameter 'RateLimit.Interval' not known -- typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ] [URM]
    220330 165500 CONSOLE_LOG T2 rsyslogd: could not load module 'imjournal', errors: trying to load module /usr/lib/rsyslog/imjournal.so: 0509-022 Cannot load module /usr/lib/rsyslog/imjournal.so. 0509-026 System error: A file or directory in the path name does not exist. [v8.1905.0 try https://www.rsyslog.com/e/2066 ] [URM]
    220330 165500 CONSOLE_LOG T2 rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 45: parameter 'RateLimit.Burst' not known -- typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ] [URM]
    220330 165500 CONSOLE_LOG T2 rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 45: parameter 'ratelimit.interval' not known -- typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ] [URM]
    220330 170500 CONSOLE_LOG T2 rsyslogd: module 'imuxsock' already in this config, cannot be added [v8.1905.0 try https://www.rsyslog.com/e/2221 ] [URM]
    220330 170500 CONSOLE_LOG T2 rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 45: parameter 'RateLimit.Burst' not known -- typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ] [URM]
    220330 170500 CONSOLE_LOG T2 rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 45: parameter 'ratelimit.interval' not known -- typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ] [URM]

    Thanks a lot.

    ------------------------------
    Michael Lam
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Does rsyslog 8.19.50.1 support ratelimit ? I found the following setting was invalid with errors:

    Posted Thu April 07, 2022 10:38 AM
    Michael,

    if this is on AIX - and you are trying to move logs from AIX to non AIX can you just use - /etc/syslog.conf and have all the logs go to destination.

    ------------------------------
    minesh patel
    ------------------------------



  • 3.  RE: Does rsyslog 8.19.50.1 support ratelimit ? I found the following setting was invalid with errors:

    Posted Fri April 08, 2022 03:23 AM
    ​Hi minesh,

    Yes, we move DB logs from AIX hosts to Linux CLAP hosts. And, used imfile module to transfer those DB logs to local6.notice and sent to CLAP hosts.

    However, we want to limit the transfer rate? How can we do that? Thanks a lot.

    ------------------------------
    Michael Lam
    ------------------------------