Specify hostname for Syslog while configuing Ingress access logging

Solution In Progress - Updated -


  • Only the IP address can be specified for Syslog in ingresscontroller.
  • When hostname is configured in ingresscontroller for syslog, following error occurs.
 ingresscontrollers.operator.openshift.io "default" was not valid:
# * <nil>: Invalid value: "": "spec.logging.access.destination.syslog" must validate one and only one schema (oneOf). Found none valid
# * spec.logging.access.destination.syslog.address: Invalid value: "syslog.example.com": spec.logging.access.destination.syslog.address in body must be of type ipv4: "syslog.example.com"
          address: syslog.example.com
          maxLength: 1024
          port: 6514
        type: Syslog
      logEmptyRequests: Log


  • Red Hat OpenShift Container Platform (OCP)
    • 4.x

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