rsyslogd shows the message "Invalid protocol 'UDP ' in allowed sender list, line ignored".

Solution Verified - Updated -

Issue

  • I have configured remote logging with rsyslog and some configurations are not working as expected.
  • I am restricting remote senders by $AllowedSender but the directive looks like it is not working.
  • rsyslogd shows the below message.

    Jun 27 12:34:38 rhel9u0 rsyslogd[33297]: rsyslogd[33297]: Invalid protocol 'UDP ' in allowed sender list, line ignored [v8.2102.0-101.el9]
    Jun 27 12:34:38 rhel9u0 systemd[1]: Started System Logging Service.
    Jun 27 12:34:38 rhel9u0 rsyslogd[33297]: error: extra characters in config line ignored: '127.0.0.1, 192.168.122.196' [v8.2102.0-101.el9]
    

Environment

  • Red Hat Enterprise Linux 9
  • rsyslog

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content