Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-79

Logging: Update CLusterLogging config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • Logging 5.6
    • Logging 5.6
    • Logging
    • None
    • OBSDOCS (Oct 23 - Nov 13) #244, OBSDOCS (Nov 13 - Dev 4) #245

      Logging docs show old way of configuring collector resources.

      Old way:

        collection:
          logs:
            type: "fluentd"  
            fluentd: {} 

      New way:

      collection:
        resources: {}
        type: "fluentd" 

       

      Sample docs:

      https://docs.openshift.com/container-platform/4.10/logging/cluster-logging-deploying.html

      https://docs.openshift.com/container-platform/4.10/logging/config/cluster-logging-collector.html

       

      Update CLF to use tcp for syslog. current docs show udp

      sample: https://docs.openshift.com/container-platform/4.10/logging/cluster-logging-external.html#cluster-logging-collector-log-forward-syslog_cluster-logging-external

       

         - name: rsyslog-west
           type: syslog
           syslog:
            appName: myapp
            facility: user
            msgID: mymsg
            procID: myproc
            rfc: RFC5424
            severity: debug
           url: 'udp://rsyslogserver.west.example.com:514' 
      
      replace "udp" with "tcp" in last line

       

       

       

            abrennan@redhat.com Ashleigh Brennan
            vimalkum@redhat.com Vimal Kumar
            Votes:
            10 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: